From 6025ae7b12a1be1cebdb4c8c1256b4f3f0623168 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Mon, 14 Oct 2019 07:58:05 -0700 Subject: [PATCH] fix: generate breakpad symbols before stripping (#20530) * fix: generate breakpad symbols before stripping * store symbols as circleci artifacts --- .circleci/config.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7206bf786f27..74357441127d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -553,6 +553,11 @@ step-maybe-zip-symbols: &step-maybe-zip-symbols ninja -C out/Default electron:electron_version electron/script/zip-symbols.py -b $BUILD_PATH +step-symbols-store: &step-symbols-store + store_artifacts: + path: src/out/Default/symbols.zip + destination: symbols.zip + step-maybe-cross-arch-snapshot: &step-maybe-cross-arch-snapshot run: name: Generate cross arch snapshot (arm/arm64) @@ -859,6 +864,7 @@ steps-electron-build: &steps-electron-build - *step-maybe-generate-breakpad-symbols - *step-maybe-zip-symbols + - *step-symbols-store # Trigger tests on arm hardware if needed - *step-maybe-trigger-arm-test @@ -933,6 +939,7 @@ steps-electron-build-with-inline-checkout-for-tests: &steps-electron-build-with- - *step-maybe-generate-breakpad-symbols - *step-maybe-zip-symbols + - *step-symbols-store # Trigger tests on arm hardware if needed - *step-maybe-trigger-arm-test @@ -953,11 +960,12 @@ steps-electron-build-for-publish: &steps-electron-build-for-publish # Electron app - *step-electron-build + - *step-maybe-generate-breakpad-symbols - *step-maybe-electron-dist-strip - *step-electron-dist-build - *step-electron-dist-store - - *step-maybe-generate-breakpad-symbols - *step-maybe-zip-symbols + - *step-symbols-store # mksnapshot - *step-mksnapshot-build