diff options
author | Vadim Zeitlin <vz-swig@zeitlins.org> | 2021-10-01 04:28:11 +0200 |
---|---|---|
committer | Vadim Zeitlin <vz-swig@zeitlins.org> | 2021-10-01 04:28:11 +0200 |
commit | 3b7e46dd19850c83833c23db5ae231eef4d23b39 (patch) | |
tree | dbf4a421e30ead0a2eafc0add958f97d4d6d26b3 /.github/workflows/ci.yml | |
parent | f038fcb44d0c1c9ed20f038544ed66320573b99c (diff) | |
download | swig-3b7e46dd19850c83833c23db5ae231eef4d23b39.tar.gz |
Try using one less make job to see its effect on total time
Check if using -j2, rather than -j3, may help with speeding up Octave
unit tests run which takes ~25 minutes currently.
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index beab2b08a..076c322a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -242,11 +242,12 @@ jobs: ;; *) - cpu_count=0 + cpu_count=1 ;; esac - ((cpu_count++)) - echo SWIGJOBS=-j$cpu_count >> $GITHUB_ENV + if [[ $cpu_count != 1 ]]; then + echo SWIGJOBS=-j$cpu_count >> $GITHUB_ENV + fi - name: Build working-directory: build/build |