From 2fb266e0a458d7b6445fda0a0f255494aaa2345f Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Fri, 8 Sep 2023 03:24:47 +0200 Subject: [PATCH] ci: run tests in parallel --- .github/workflows/main.yml | 2 +- .github/workflows/msvc.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0327e3063c..2a0a8e47bc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -111,7 +111,7 @@ jobs: ${{ matrix.platform.source_cmd }} set -eu export SDL_TESTS_QUICK=1 - ctest -VV --test-dir build/ + ctest -VV --test-dir build/ -j2 if test "${{ runner.os }}" = "Linux"; then # This should show us the SDL_REVISION strings build/libSDL3.so.0 | grep SDL- diff --git a/.github/workflows/msvc.yml b/.github/workflows/msvc.yml index a434a72847..d6968cd833 100644 --- a/.github/workflows/msvc.yml +++ b/.github/workflows/msvc.yml @@ -61,7 +61,7 @@ jobs: if: "! contains(matrix.platform.name, 'ARM')" run: | $env:SDL_TESTS_QUICK=1 - ctest -VV --test-dir build/ -C Release + ctest -VV --test-dir build/ -C Release -j2 - name: Install (CMake) run: | echo "SDL3_DIR=$Env:GITHUB_WORKSPACE/prefix" >> $Env:GITHUB_ENV