ci: add -j3 to mksnapshot/ffmpeg due to smaller machine size (#14907)

This commit is contained in:
Jeremy Apthorp 2018-10-01 18:50:41 -07:00 коммит произвёл Samuel Attard
Родитель 79c6e7c3f7
Коммит 6a3402be5f
1 изменённых файлов: 9 добавлений и 3 удалений

Просмотреть файл

@ -228,7 +228,9 @@ step-ffmpeg-build: &step-ffmpeg-build
name: Non proprietary ffmpeg build name: Non proprietary ffmpeg build
command: | command: |
cd src cd src
ninja -C out/ffmpeg electron:electron_ffmpeg_zip # NOTE(jeremy): -j3 because ffmpeg is currently built on a smaller
# machine size and ninja mis-detects the number of CPUs available.
ninja -C out/ffmpeg electron:electron_ffmpeg_zip -j3
step-verify-ffmpeg: &step-verify-ffmpeg step-verify-ffmpeg: &step-verify-ffmpeg
run: run:
@ -264,7 +266,9 @@ step-mksnapshot-build: &step-mksnapshot-build
name: mksnapshot build name: mksnapshot build
command: | command: |
cd src cd src
ninja -C out/Default electron:electron_mksnapshot_zip # NOTE(jeremy): -j3 because mksnapshot is currently built on a smaller
# machine size and ninja mis-detects the number of CPUs available.
ninja -C out/Default electron:electron_mksnapshot_zip -j3
step-mksnapshot-store: &step-mksnapshot-store step-mksnapshot-store: &step-mksnapshot-store
store_artifacts: store_artifacts:
@ -298,7 +302,9 @@ step-maybe-native-mksnapshot-build: &step-maybe-native-mksnapshot-build
command: | command: |
if [ "$BUILD_NATIVE_MKSNAPSHOT" == "1" ]; then if [ "$BUILD_NATIVE_MKSNAPSHOT" == "1" ]; then
cd src cd src
ninja -C out/native_mksnapshot electron:electron_mksnapshot_zip # NOTE(jeremy): -j3 because mksnapshot is currently built on a smaller
# machine size and ninja mis-detects the number of CPUs available.
ninja -C out/native_mksnapshot electron:electron_mksnapshot_zip -j3
else else
echo 'Skipping native mksnapshot build for non arm build' echo 'Skipping native mksnapshot build for non arm build'
fi fi