From 7575f3cc27ff0757ac34c243358bce41bcb8f416 Mon Sep 17 00:00:00 2001 From: flagarde Date: Thu, 18 Jul 2024 16:29:39 +0200 Subject: [PATCH] fix --- .github/workflows/Macos.yml | 14 +++++++++---- .github/workflows/Windows.yml | 38 ++++++++++++++++++++++++----------- 2 files changed, 36 insertions(+), 16 deletions(-) diff --git a/.github/workflows/Macos.yml b/.github/workflows/Macos.yml index 4a3112b..f0418a4 100644 --- a/.github/workflows/Macos.yml +++ b/.github/workflows/Macos.yml @@ -53,8 +53,11 @@ jobs: mode: build config: Debug - - name: Test - run: cd build ; ctest -C Debug --output-on-failure ${{ env.CTEST_VERBOSITY }} + - name: 🧪 run-ctest + uses: cmake-tools/run-ctest@v0-alpha + id: test + with: + build_config: Debug gcc: runs-on: macos-12 @@ -97,5 +100,8 @@ jobs: with: mode: build - - name: Test - run: cd build ; ctest -C Debug --output-on-failure ${{ env.CTEST_VERBOSITY }} + - name: 🧪 run-ctest + uses: cmake-tools/run-ctest@v0-alpha + id: test + with: + build_config: Debug diff --git a/.github/workflows/Windows.yml b/.github/workflows/Windows.yml index dac548e..f4acc49 100644 --- a/.github/workflows/Windows.yml +++ b/.github/workflows/Windows.yml @@ -59,11 +59,13 @@ jobs: id: build with: mode: build + config: Debug - - name: Build - run: cmake --build build --parallel 2 - - name: Test - run: cd build ; ctest -C Debug --output-on-failure ${{ env.CTEST_VERBOSITY }} + - name: 🧪 run-ctest + uses: cmake-tools/run-ctest@v0-alpha + id: test + with: + build_config: Debug msvc2019: runs-on: windows-2019 @@ -108,8 +110,11 @@ jobs: mode: build config: Debug - - name: Test - run: cd build ; ctest -C Debug --output-on-failure ${{ env.CTEST_VERBOSITY }} + - name: 🧪 run-ctest + uses: cmake-tools/run-ctest@v0-alpha + id: test + with: + build_config: Debug msvc2022: runs-on: windows-2022 @@ -155,8 +160,11 @@ jobs: mode: build config: Debug - - name: Test - run: cd build ; ctest -C Debug --output-on-failure ${{ env.CTEST_VERBOSITY }} + - name: 🧪 run-ctest + uses: cmake-tools/run-ctest@v0-alpha + id: test + with: + build_config: Debug clang: runs-on: windows-2022 @@ -208,8 +216,11 @@ jobs: with: mode: build - - name: Test - run: cd build ; ctest -C Debug --output-on-failure ${{ env.CTEST_VERBOSITY }} + - name: 🧪 run-ctest + uses: cmake-tools/run-ctest@v0-alpha + id: test + with: + build_config: Debug clang-cl: runs-on: windows-2022 @@ -262,5 +273,8 @@ jobs: mode: build config: Debug - - name: Test - run: cd build ; ctest -C Debug --output-on-failure ${{ env.CTEST_VERBOSITY }} + - name: 🧪 run-ctest + uses: cmake-tools/run-ctest@v0-alpha + id: test + with: + build_config: Debug