Skip to content

Commit

Permalink
Only run unit and binary tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
daljit46 committed Jul 26, 2023
1 parent 36a7633 commit b308e17
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ jobs:
- name: build
run: cmake --build ./cmake-build

- name: test
run: cd cmake-build && ctest --output-on-failure
- name: unit tests
run: ctest -R unit --output-on-failure --test-dir ./cmake-build

- name: binary tests
run: ctest -R bin --output-on-failure --test-dir ./cmake-build

macos-build:

Expand Down Expand Up @@ -69,8 +72,11 @@ jobs:
- name: build
run: cmake --build ./cmake-build

- name: test
run: cd cmake-build && ctest --output-on-failure
- name: unit tests
run: ctest -R unit --output-on-failure --test-dir ./cmake-build

- name: binary tests
run: ctest -R bin --output-on-failure --test-dir ./cmake-build

windows-build:

Expand Down Expand Up @@ -128,5 +134,9 @@ jobs:
- name: build
run: cmake --build cmake-build

- name: test
run: cd cmake-build && ctest --output-on-failure
- name: unit tests
run: ctest -R unit --output-on-failure --test-dir ./cmake-build

- name: binary tests
run: ctest -R bin --output-on-failure --test-dir ./cmake-build

0 comments on commit b308e17

Please sign in to comment.