Skip to content

Commit

Permalink
Avoid building the tests again for example project with add_subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
tamasmeszaros committed Aug 8, 2023
1 parent 2f42376 commit 2d7f922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
working-directory: ${{github.workspace}}/example/build_subd
shell: bash
run: |
cmake .. -DBGCODE_AS_SUBPROJECT=ON -DCMAKE_PREFIX_PATH=${{github.workspace}}/deps/build/destdir/usr/local
cmake .. -DBGCODE_AS_SUBPROJECT=ON -DLibBGCode_BUILD_TESTS=OFF -DCMAKE_PREFIX_PATH=${{github.workspace}}/deps/build/destdir/usr/local
cmake --build .
- uses: actions/upload-artifact@v3 # upload test results
Expand Down

0 comments on commit 2d7f922

Please sign in to comment.