From: Marc Fehling Date: Sat, 1 Jul 2023 03:15:11 +0000 (-0400) Subject: github-actions: X-Git-Tag: relicensing~822^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15554%2Fhead;p=dealii.git github-actions: - max out cores on macos - set number of jobs via cmake on windows --- 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'