From 12b0e74af9aad5ffa6509be37190c70a3bfc3c45 Mon Sep 17 00:00:00 2001 From: tbeu Date: Sat, 23 Nov 2024 22:24:33 +0100 Subject: [PATCH] Run CTest testsuite in parallel at GitHub Actions [skip appveyor] --- .github/workflows/cmake.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 893da154..3f8c8ddc 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -77,7 +77,7 @@ jobs: cmake --build build -- -j8 fi - name: Test - run: ctest --no-tests=error --test-dir build --build-config ${{ matrix.configuration }} + run: ctest --no-tests=error --test-dir build --build-config ${{ matrix.configuration }} --parallel 8 build-openbsd: name: openbsd-clang @@ -100,7 +100,7 @@ jobs: set -e cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DMATIO_SHARED=OFF -DMATIO_MAT73=OFF cmake --build build -- -j8 - ctest --no-tests=error --test-dir build --build-config Release + ctest --no-tests=error --test-dir build --build-config Release --parallel 8 build-solaris: name: solaris-gcc @@ -125,7 +125,7 @@ jobs: mkdir build cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DMATIO_SHARED=OFF -DMATIO_MAT73=OFF cmake --build build -- -j8 - ctest --no-tests=error --test-dir build --build-config Release + ctest --no-tests=error --test-dir build --build-config Release --parallel 8 build-cygwin: name: windows-cygwin