mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-12-24 17:32:13 +03:00
(experiment) remove further BUILDARCH branches and s/armhf/arm/
This commit is contained in:
parent
1082261042
commit
8c04967b7e
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user