File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -21,18 +21,17 @@ jobs:
2121 uses : actions/setup-go@v5
2222 with :
2323 go-version : ' 1.20'
24-
25- - name : Build Aspose.Cells for Go via C++
26- env :
27- PATH : ${{ github.workspace }}/lib/win_x86_64;${env:PATH}
28- run : |
29- dir "${{ github.workspace }}/"
30- echo "PATH: ${env:PATH}"
31- go build -v ./...
32-
33- - name : Run Example Code.
24+ - name : Setup MSVC environment
25+ uses : ilammy/msvc-dev-cmd@v1
26+ - name : Run Example Code
3427 env :
35- PATH : ${{ github.workspace }}/lib/win_x86_64;${env:PATH}
28+ CGO_ENABLED : 1
29+ PATH : ${{ github.workspace }}/lib/win_x86_64;${env:PATH}
30+ CGO_LDFLAGS : -Wl,-rpath,"${{ github.workspace }}/lib/win_x86_64" -L"${SRCDIR}/lib/win_x86_64" -lAspose.Cells.CWrapper
31+ CGO_CXXFLAGS : -I"${{ github.workspace }}
3632 run : |
37- cd samples
33+ echo "Current dir: $(Get-Location)"
34+ dir "${{ github.workspace }}/lib/win_x86_64"
35+ cd samples
3836 go run .
37+ shell : powershell
You can’t perform that action at this time.
0 commit comments