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.
This commit is contained in:
Vadim Zeitlin 2021-10-01 04:28:11 +02:00
commit 3b7e46dd19

View file

@ -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