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:
parent
f038fcb44d
commit
3b7e46dd19
1 changed files with 4 additions and 3 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -242,11 +242,12 @@ jobs:
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
cpu_count=0
|
cpu_count=1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
((cpu_count++))
|
if [[ $cpu_count != 1 ]]; then
|
||||||
echo SWIGJOBS=-j$cpu_count >> $GITHUB_ENV
|
echo SWIGJOBS=-j$cpu_count >> $GITHUB_ENV
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: build/build
|
working-directory: build/build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue