Browse Source

build: only strip binaries on linux (#22282)

John Kleinschmidt 5 years ago
parent
commit
5c93682a89
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .circleci/config.yml

+ 3 - 1
.circleci/config.yml

@@ -423,7 +423,9 @@ step-electron-chromedriver-build: &step-electron-chromedriver-build
     command: |
       cd src
       ninja -C out/Default chrome/test/chromedriver -j $NUMBER_OF_NINJA_PROCESSES
-      electron/script/strip-binaries.py --target-cpu="$TARGET_ARCH" --file $PWD/out/Default/chromedriver
+      if [ "`uname`" == "Linux" ]; then
+        electron/script/strip-binaries.py --target-cpu="$TARGET_ARCH" --file $PWD/out/Default/chromedriver
+      fi
       ninja -C out/Default electron:electron_chromedriver_zip
 
 step-electron-chromedriver-store: &step-electron-chromedriver-store