File tree Expand file tree Collapse file tree 1 file changed +10
-17
lines changed Expand file tree Collapse file tree 1 file changed +10
-17
lines changed Original file line number Diff line number Diff line change 11# This workflow will build a golang project
22# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
33
4- name : Go
4+ name : Aspose.Cells for Go via C++
55
66on :
77 push :
1212jobs :
1313
1414 build :
15- name : Aspose.Cells for Go via C++ build and test on Windows
16- runs-on : windows-latest
15+ runs-on : ubuntu-latest
1716 steps :
1817 - uses : actions/checkout@v4
1918
2019 - name : Set up Go
21- uses : actions/setup-go@v5
20+ uses : actions/setup-go@v4
2221 with :
2322 go-version : ' 1.20'
24- - name : Run Example Code
23+
24+ - name : Build
25+ run : go build -v ./...
26+
27+ - name : Run Example Code.
2528 run : |
26- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
27- set CGO_ENABLED=1
28- set CC=cl.exe
29- set CXX=cl.exe
30- set PATH=%CD%\lib\win_x86_64;%PATH%
31- set CGO_CFLAGS=
32- set CGO_CXXFLAGS=
33- echo "Current dir: $(pwd)"
34- dir "${{ github.workspace }}/lib/win_x86_64"
35- cd samples
36- go run .
37- shell : cmd
29+ cd samples
30+ go run .
You can’t perform that action at this time.
0 commit comments