ci: fix path to dist.zip on appveyor (#14535)

This commit is contained in:
Jeremy Apthorp 2018-09-11 09:38:41 -07:00 committed by GitHub
parent 58fd76b6b5
commit 3a6e88c0e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,7 @@ build_script:
- gn gen out/ffmpeg "--args=import(\"//electron/build/args/ffmpeg.gn\") %GN_EXTRA_ARGS%" - 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
- appveyor PushArtifact out/Default/dist.zip
test_script: test_script:
- if "%GN_CONFIG%"=="testing" ( echo Verifying non proprietary ffmpeg & python electron\script\verify-ffmpeg.py --build-dir out\Default --source-root %cd% --ffmpeg-path out\ffmpeg ) - if "%GN_CONFIG%"=="testing" ( echo Verifying non proprietary ffmpeg & python electron\script\verify-ffmpeg.py --build-dir out\Default --source-root %cd% --ffmpeg-path out\ffmpeg )
- ps: >- - ps: >-
@ -44,6 +45,3 @@ test_script:
echo "Skipping tests for $env:GN_CONFIG build" echo "Skipping tests for $env:GN_CONFIG build"
} }
- if "%GN_CONFIG%"=="testing" ( echo Running test suite & .\out\Default\electron.exe electron\spec --ci ) - if "%GN_CONFIG%"=="testing" ( echo Running test suite & .\out\Default\electron.exe electron\spec --ci )
artifacts:
- path: src/out/Default/dist.zip
name: dist.zip