Skip to content

Commit

Permalink
Update build_and_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicDirkx authored Nov 5, 2024
1 parent f5d0c94 commit 92633f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ jobs:
- name: Build
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). Use multiple cpu cores available in the runner.
shell: bash -l {0}
run: cmake --build "${{ github.workspace }}/build" --config "${{ matrix.build_type }}" -j4
run: cmake --build "${{ github.workspace }}/build" --config "${{ matrix.build_type }}" -j3


- name: Test
working-directory: "${{ github.workspace }}/build"
# Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest --build-config ${{ matrix.build_type }} --output-on-failure -j4
run: ctest --build-config ${{ matrix.build_type }} --output-on-failure -j4

0 comments on commit 92633f4

Please sign in to comment.