From 1005cb0b949b2feac6b49a46c62f7c3651430422 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Fri, 30 Jun 2023 23:15:11 -0400 Subject: [PATCH] github-actions: - max out cores on macos - set number of jobs via cmake on windows --- .github/workflows/osx.yml | 4 ++-- .github/workflows/windows.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 4e9b75ecb7..0a1def26f8 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -30,7 +30,7 @@ jobs: - name: build run: | make VERBOSE=1 -j2 - make -j2 test # quicktests + make -j3 test # quicktests - name: archive error 1 uses: actions/upload-artifact@v3 if: always() @@ -73,7 +73,7 @@ jobs: - name: build run: | make VERBOSE=1 -j2 - make -j2 test #quicktests + make -j3 test #quicktests - name: archive error 1 uses: actions/upload-artifact@v3 if: always() diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 08c5dba954..3d194201c4 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -38,13 +38,13 @@ jobs: - name: build library shell: bash run: | - cmake --build build --target install -- -m + cmake --build build --parallel 2 --target install cd c:/project 7z a dealii-windows.zip * - name: test library shell: bash run: | - cmake --build build --target test -- -m + cmake --build build --parallel 2 --target test - name: archive library # run only if a PR is merged into master if: github.ref == 'refs/heads/master' -- 2.39.5