ci: pass GN_EXTRA_ARGS to the ffmpeg build

Both Electron and ffmpeg should have
the same value of the `target_cpu` build flag.
This commit is contained in:
Aleksei Kuzmin 2018-09-03 12:33:23 +02:00
parent 57a4d86669
commit b16bf6a95d

View file

@ -25,7 +25,7 @@ build_script:
- cd src - cd src
- gn gen out/Default "--args=import(\"//electron/build/args/%GN_CONFIG%.gn\") %GN_EXTRA_ARGS%" - gn gen out/Default "--args=import(\"//electron/build/args/%GN_CONFIG%.gn\") %GN_EXTRA_ARGS%"
- ninja -C out/Default electron:electron_app - ninja -C out/Default electron:electron_app
- gn gen out/ffmpeg "--args=import(\"//electron/build/args/ffmpeg.gn\")" - gn gen out/ffmpeg "--args=import(\"//electron/build/args/ffmpeg.gn\") %GN_EXTRA_ARGS%"
- ninja -C out/ffmpeg third_party/ffmpeg - ninja -C out/ffmpeg third_party/ffmpeg
- ninja -C out/Default electron:electron_dist_zip - ninja -C out/Default electron:electron_dist_zip
test_script: test_script: