(experiment) remove further BUILDARCH branches and s/armhf/arm/

This commit is contained in:
Peter Squicciarini 2020-10-05 17:54:42 -07:00
parent 1082261042
commit 8c04967b7e
No known key found for this signature in database
GPG Key ID: 08B897BCAB6763CB
3 changed files with 3 additions and 10 deletions

View File

@ -27,7 +27,7 @@ jobs:
- vscode_arch: arm64
npm_arch: arm64
image: vscodium/vscodium-linux-build-agent:buster-arm64
- vscode_arch: armhf
- vscode_arch: arm
npm_arch: armv7l
image: vscodium/vscodium-linux-build-agent:buster-armhf

View File

@ -1,5 +1,5 @@
#!/bin/bash
if [[ "$BUILDARCH" == "x64" ]]; then
if [[ "$VSCODE_ARCH" == "x64" ]]; then
# install a dep needed for this process
sudo apt-get install desktop-file-utils

View File

@ -2,7 +2,7 @@
set -e
if [[ "$OS_NAME" != "osx" ]]; then
if [[ "$CI_WINDOWS" == "True" ]]; then
export npm_config_arch="$BUILDARCH"
export npm_config_target_arch="$BUILDARCH"
fi
@ -23,13 +23,6 @@ else
yarn postinstall
fi
if [[ "$BUILDARCH" == *"arm"* ]]; then
sed -i -z 's/,\n[^\n]*arm[^\n]*//' node_modules/vscode-sqlite3/binding.gyp
sed -i "s/Release\/sqlite'/Release\/sqlite.node'/" node_modules/vscode-sqlite3/lib/sqlite3.js
yarn add -D electron-rebuild
npx electron-rebuild -f -w vscode-sqlite3
fi
mv product.json product.json.bak
# set fields in product.json