ci: fix breakpad symbols generation on CircleCI for PRs from forks (#15026)

E.g. https://circleci.com/gh/electron/electron/78458
This commit is contained in:
Alexey Kuzmin 2018-10-08 23:56:15 +02:00 committed by GitHub
parent 7866575385
commit 7df51eef3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -290,14 +290,16 @@ step-mksnapshot-store: &step-mksnapshot-store
step-generate-breakpad-symbols: &step-generate-breakpad-symbols
run:
name: Generate breakpad symbols
environment:
# TODO(alexeykuzmin): Explicitly pass an out folder path to the scripts.
ELECTRON_OUT_DIR: Default
command: |
cd src
# Build needed dump_syms executable
ninja -C out/Default third_party/breakpad:dump_syms
electron/script/dump-symbols.py -d "$PWD/out/Default/electron.breakpad.syms"
# TODO(alexeykuzmin): Explicitly pass an out folder path to the "zip-symbols.py" script.
export ELECTRON_OUT_DIR=Default
electron/script/dump-symbols.py -d "$PWD/out/Default/electron.breakpad.syms"
electron/script/zip-symbols.py
step-maybe-native-mksnapshot-gn-gen: &step-maybe-native-mksnapshot-gn-gen