diff options
| -rw-r--r-- | .github/workflows/emscripten.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/fedora-rawhide.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/windows.yml | 2 | ||||
| -rwxr-xr-x | scripts/test | 1 |
4 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml index 6087aba..914446b 100644 --- a/.github/workflows/emscripten.yml +++ b/.github/workflows/emscripten.yml | |||
| @@ -43,7 +43,7 @@ jobs: | |||
| 43 | run: cmake --build build --config Release --parallel 4 | 43 | run: cmake --build build --config Release --parallel 4 |
| 44 | 44 | ||
| 45 | - name: "Test" | 45 | - name: "Test" |
| 46 | run: ctest --test-dir build -C Release --output-on-failure | 46 | run: ctest --test-dir build -C Release --parallel --output-on-failure |
| 47 | 47 | ||
| 48 | # Test ASAN with and without ASM enabled. | 48 | # Test ASAN with and without ASM enabled. |
| 49 | test-asan: | 49 | test-asan: |
| @@ -80,4 +80,4 @@ jobs: | |||
| 80 | run: cmake --build build --config Release --parallel 4 | 80 | run: cmake --build build --config Release --parallel 4 |
| 81 | 81 | ||
| 82 | - name: "Test" | 82 | - name: "Test" |
| 83 | run: ctest --test-dir build -C Release --output-on-failure | 83 | run: ctest --test-dir build -C Release --parallel --output-on-failure |
diff --git a/.github/workflows/fedora-rawhide.yml b/.github/workflows/fedora-rawhide.yml index 078bc02..c3dd8a8 100644 --- a/.github/workflows/fedora-rawhide.yml +++ b/.github/workflows/fedora-rawhide.yml | |||
| @@ -37,4 +37,4 @@ jobs: | |||
| 37 | ninja | 37 | ninja |
| 38 | - name: Test | 38 | - name: Test |
| 39 | run: | | 39 | run: | |
| 40 | ninja test | 40 | CTEST_PARALLEL_LEVEL="" ninja test |
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 729ff46..908e081 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml | |||
| @@ -88,7 +88,7 @@ jobs: | |||
| 88 | 88 | ||
| 89 | - name: "Test" | 89 | - name: "Test" |
| 90 | shell: cmd | 90 | shell: cmd |
| 91 | run: ctest --test-dir build -C Release --output-on-failure | 91 | run: ctest --test-dir build -C Release --parallel --output-on-failure |
| 92 | 92 | ||
| 93 | - name: "Upload build artifacts" | 93 | - name: "Upload build artifacts" |
| 94 | if: always() | 94 | if: always() |
diff --git a/scripts/test b/scripts/test index 0e84b22..6b51b1e 100755 --- a/scripts/test +++ b/scripts/test | |||
| @@ -11,6 +11,7 @@ if [ "$ARCH" = "mingw32" -o "$ARCH" = "mingw64" -o "$ARCH" = "arm32" ]; then | |||
| 11 | fi | 11 | fi |
| 12 | 12 | ||
| 13 | ENABLE_ASM="${ENABLE_ASM:=ON}" | 13 | ENABLE_ASM="${ENABLE_ASM:=ON}" |
| 14 | export CTEST_PARALLEL_LEVEL="${CTEST_PARALLEL_LEVEL-}" | ||
| 14 | 15 | ||
| 15 | # setup_cross_compiler sets up environment variables for cross-compilation with the given prefix. | 16 | # setup_cross_compiler sets up environment variables for cross-compilation with the given prefix. |
| 16 | setup_cross_compiler() { | 17 | setup_cross_compiler() { |
