From 2968bee86f7527fd5d9bedabc6874a62beecddc7 Mon Sep 17 00:00:00 2001 From: Eldred Habert Date: Tue, 14 Apr 2026 01:25:47 +0200 Subject: [PATCH] Run macos-static tests using CTest (#1947) We can, so why not? It has benefits. --- .github/workflows/testing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 2213f1a7..c78f51e7 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -121,7 +121,7 @@ jobs: enableCrossOsArchive: true - name: Build & install run: | - cmake -S . -B build --preset macos-static -DFETCHCONTENT_BASE_DIR="${{ env.DEPS_ROOT_DIR }}" + cmake -S . -B build --preset macos-static -DFETCHCONTENT_BASE_DIR="${{ env.DEPS_ROOT_DIR }}" -DTESTS_OS_NAME=macos cmake --build build - name: Package binaries run: | @@ -156,7 +156,7 @@ jobs: test/fetch-test-deps.sh --get-deps macos - name: Run tests run: | - test/run-tests.sh --os macos + ctest --test-dir build --schedule-random windows: strategy: