From 462fc46424444397877f69f1e0a800160e8ab237 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Sun, 23 Jun 2024 11:46:12 -0700 Subject: [PATCH] Add JOBS parameter to GH workflows (currently default, but not guaranteed) ... and fix missing newline at EOF --- .github/workflows/linux-ci.yml | 4 ++-- .github/workflows/msvc-ci.yml | 1 + .gitignore | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux-ci.yml b/.github/workflows/linux-ci.yml index b2598edb4..102d8a85d 100644 --- a/.github/workflows/linux-ci.yml +++ b/.github/workflows/linux-ci.yml @@ -13,8 +13,8 @@ jobs: run: | mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Debug .. - make -j2 + make -j4 - name: Test run: | cd build - make check + make check JOBS=4 diff --git a/.github/workflows/msvc-ci.yml b/.github/workflows/msvc-ci.yml index 20ac5e600..8adb503bd 100644 --- a/.github/workflows/msvc-ci.yml +++ b/.github/workflows/msvc-ci.yml @@ -26,6 +26,7 @@ jobs: bash.exe ..\..\tests\all_tests.sh env: PYTHON_EXE: python.exe + JOBS: 4 - name: Upload artifact uses: actions/upload-artifact@v3 diff --git a/.gitignore b/.gitignore index 9bb0f983a..7cfe02d77 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,4 @@ *.kdev4 /.kdev4 __pycache__ -tests-out \ No newline at end of file +tests-out