Skip to content

Commit 2968bee

Browse files
authored
Run macos-static tests using CTest (#1947)
We can, so why not? It has benefits.
1 parent dec7a74 commit 2968bee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
enableCrossOsArchive: true
122122
- name: Build & install
123123
run: |
124-
cmake -S . -B build --preset macos-static -DFETCHCONTENT_BASE_DIR="${{ env.DEPS_ROOT_DIR }}"
124+
cmake -S . -B build --preset macos-static -DFETCHCONTENT_BASE_DIR="${{ env.DEPS_ROOT_DIR }}" -DTESTS_OS_NAME=macos
125125
cmake --build build
126126
- name: Package binaries
127127
run: |
@@ -156,7 +156,7 @@ jobs:
156156
test/fetch-test-deps.sh --get-deps macos
157157
- name: Run tests
158158
run: |
159-
test/run-tests.sh --os macos
159+
ctest --test-dir build --schedule-random
160160
161161
windows:
162162
strategy:

0 commit comments

Comments
 (0)