Skip to content

Commit

Permalink
ci: add -j3 to mksnapshot/ffmpeg due to smaller machine size (electro…
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon authored and MarshallOfSound committed Oct 2, 2018
1 parent 79c6e7c commit 6a3402b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@ step-ffmpeg-build: &step-ffmpeg-build
name: Non proprietary ffmpeg build
command: |
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
run:
Expand Down Expand Up @@ -264,7 +266,9 @@ step-mksnapshot-build: &step-mksnapshot-build
name: mksnapshot build
command: |
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
store_artifacts:
Expand Down Expand Up @@ -298,7 +302,9 @@ step-maybe-native-mksnapshot-build: &step-maybe-native-mksnapshot-build
command: |
if [ "$BUILD_NATIVE_MKSNAPSHOT" == "1" ]; then
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
echo 'Skipping native mksnapshot build for non arm build'
fi
Expand Down

0 comments on commit 6a3402b

Please sign in to comment.