Skip to content

Commit

Permalink
Add different job step for examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiavrammsd committed Oct 14, 2023
1 parent 2d606fd commit fd311c7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,16 @@ jobs:
working-directory: ${{github.workspace}}/build
shell: bash
# Execute the build. You can specify a specific target with "--target <NAME>"
run: cmake --build . --config ${{ matrix.config.build_type }} --target tests examples
run: cmake --build . --config ${{ matrix.config.build_type }} --target tests

- name: Test
working-directory: ${{github.workspace}}/build
shell: bash
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C ${{ matrix.config.build_type }} --verbose -R channel_test*

- name: Run examples
working-directory: ${{github.workspace}}/build
shell: bash
run: cmake --build . --config ${{ matrix.config.build_type }} --target examples

0 comments on commit fd311c7

Please sign in to comment.