mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
ci: don't build yarn modules for linux arm (#49031)
This should fix the oom errors
This commit is contained in:
committed by
GitHub
parent
4786e80f33
commit
20c7042a20
@@ -21,4 +21,11 @@ runs:
|
||||
if [ "$TARGET_ARCH" = "x86" ]; then
|
||||
export npm_config_arch="ia32"
|
||||
fi
|
||||
node script/yarn.js install --immutable
|
||||
# if running on linux arm skip yarn Builds
|
||||
ARCH=$(uname -m)
|
||||
if [ "$ARCH" = "armv7l" ]; then
|
||||
echo "Skipping yarn build on linux arm"
|
||||
node script/yarn.js install --immutable --mode=skip-build
|
||||
else
|
||||
node script/yarn.js install --immutable
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user