build: manually pull 64bit dugite for 32bit tests (#30531)

This commit is contained in:
Samuel Attard 2021-08-14 15:44:43 -07:00 committed by GitHub
parent 0c1f762119
commit 8b9d0092cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1209,6 +1209,9 @@ steps-tests: &steps-tests
(cd electron && node script/yarn test --runners=main --trace-uncaught --enable-logging)
(cd electron && node script/yarn test --runners=remote --trace-uncaught --enable-logging)
else
if [ "$TARGET_ARCH" == "ia32" ]; then
npm_config_arch=x64 node electron/node_modules/dugite/script/download-git.js
fi
(cd electron && node script/yarn test --runners=main --trace-uncaught --enable-logging --files $(circleci tests glob spec-main/*-spec.ts | circleci tests split --split-by=timings))
(cd electron && node script/yarn test --runners=remote --trace-uncaught --enable-logging --files $(circleci tests glob spec/*-spec.js | circleci tests split --split-by=timings))
fi