Skip to content

Commit

Permalink
Only build Release for msvc as Debug would fail
Browse files Browse the repository at this point in the history
  • Loading branch information
tamasmeszaros committed Aug 8, 2023
1 parent f524000 commit deac930
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ jobs:
working-directory: ${{github.workspace}}\example\build_fp
run: |
cmake .. -DCMAKE_PREFIX_PATH="${{github.workspace}}\build\dist;${{github.workspace}}\deps\build\destdir\usr\local"
cmake --build .
cmake --build . --config Release
- name: Build example (using add_subdirectory)
working-directory: ${{github.workspace}}\example\build_subd
run: |
cmake .. -DBGCODE_AS_SUBPROJECT=ON -DLibBGCode_BUILD_TESTS=OFF -DCMAKE_PREFIX_PATH=${{github.workspace}}\deps\build\destdir\usr\local
cmake --build .
cmake --build . --config Release
- uses: actions/upload-artifact@v3 # upload test results
if: success() || failure() # run this step even if previous step failed
Expand Down

0 comments on commit deac930

Please sign in to comment.