Skip to content

Commit 680f343

Browse files
trop[bot]John Kleinschmidt
andauthored
build: only strip binaries on linux (electron#22288)
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
1 parent 420fb46 commit 680f343

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,9 @@ step-electron-chromedriver-build: &step-electron-chromedriver-build
355355
command: |
356356
cd src
357357
ninja -C out/Default chrome/test/chromedriver -j $NUMBER_OF_NINJA_PROCESSES
358-
electron/script/strip-binaries.py --target-cpu="$TARGET_ARCH" --file $PWD/out/Default/chromedriver
358+
if [ "`uname`" == "Linux" ]; then
359+
electron/script/strip-binaries.py --target-cpu="$TARGET_ARCH" --file $PWD/out/Default/chromedriver
360+
fi
359361
ninja -C out/Default electron:electron_chromedriver_zip
360362
361363
step-electron-chromedriver-store: &step-electron-chromedriver-store

0 commit comments

Comments
 (0)