Skip to content

Commit

Permalink
Include tests for go bindings in deploy (linux, windows and osx)
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaiaeroastro committed Sep 1, 2024
1 parent c853981 commit cdcffab
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,15 @@ jobs:
cd SDK/CPackExamples/Cpp/build
cmake --build .
./Example_ExtractInfo ../../../Examples/Files/Helix.3mf
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Go Bindings
run: |
cd SDK/Examples/Go
go build -o create_cube create_cube.go
./create_cube
deploy-windows:
runs-on: windows-2019
Expand Down Expand Up @@ -451,6 +460,16 @@ jobs:
cd SDK/CPackExamples/Cpp/build
cmake --build . --config Release
./Release/Example_ExtractInfo.exe ../../../Examples/Files/Helix.3mf
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Go Bindings
run: |
cd SDK/Examples/Go
go build -o create_cube.exe create_cube.go
./create_cube.exe
deploy-macos:
runs-on: macos-latest
Expand Down Expand Up @@ -507,6 +526,15 @@ jobs:
cd SDK/CPackExamples/Cpp/build
cmake --build .
./Example_ExtractInfo ../../../Examples/Files/Helix.3mf
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Go Bindings
run: |
cd SDK/Examples/Go
go build -o create_cube create_cube.go
./create_cube
deploy-source-code-with-submodules:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit cdcffab

Please sign in to comment.