Use the number of logical cores on the CI on OSX

pull/3065/head
jvoisin 4 years ago
parent 8766b81cf8
commit 95042a2a68

@ -105,7 +105,7 @@ MacOS:
- rm -fr build/* # remove anything in the build directory
- CI/before_install.osx.sh
- CI/before_script.osx.sh
- cd build; make -j2 package
- cd build; make -j $(sysctl -n hw.logicalcpu) package
- for dmg in *.dmg; do mv "$dmg" "${dmg%.dmg}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}.dmg"; done
artifacts:
paths:

Loading…
Cancel
Save