File tree 5 files changed +30
-12
lines changed
5 files changed +30
-12
lines changed Original file line number Diff line number Diff line change @@ -217,8 +217,8 @@ jobs:
217
217
run : ./check_tags.sh
218
218
if : env.DISABLED != 'yes' && env.SHOULD_BUILD == 'yes'
219
219
220
- - name : Install libkrb5-dev
221
- run : sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
220
+ - name : Install dependencies
221
+ run : ./build/linux/deps.sh
222
222
if : env.DISABLED != 'yes' && env.SHOULD_BUILD == 'yes'
223
223
224
224
- uses : actions-rust-lang/setup-rust-toolchain@v1
Original file line number Diff line number Diff line change @@ -218,8 +218,8 @@ jobs:
218
218
run : ./check_tags.sh
219
219
if : env.DISABLED != 'yes' && env.SHOULD_BUILD == 'yes'
220
220
221
- - name : Install libkrb5-dev
222
- run : sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
221
+ - name : Install dependencies
222
+ run : ./build/linux/deps.sh
223
223
if : env.DISABLED != 'yes' && env.SHOULD_BUILD == 'yes'
224
224
225
225
- uses : actions-rust-lang/setup-rust-toolchain@v1
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -ex
4
+
5
+ sudo apt-get update -y
6
+
7
+ sudo apt-get install -y libkrb5-dev
8
+
9
+ if [[ " ${VSCODE_ARCH} " == " arm64" ]]; then
10
+ sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu crossbuild-essential-arm64
11
+ elif [[ " ${VSCODE_ARCH} " == " armhf" ]]; then
12
+ sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf crossbuild-essential-armhf
13
+ fi
Original file line number Diff line number Diff line change 7
7
export CARGO_NET_GIT_FETCH_WITH_CLI=" true"
8
8
export VSCODE_CLI_APP_NAME=" $( echo " ${APP_NAME} " | awk ' {print tolower($0)}' ) "
9
9
export VSCODE_CLI_BINARY_NAME=" $( node -p " require(\" ../product.json\" ).serverApplicationName" ) "
10
+ export VSCODE_CLI_UPDATE_ENDPOINT=" https://raw.githubusercontent.com/VSCodium/versions/refs/heads/master"
11
+
12
+ if [[ " ${VSCODE_QUALITY} " == " insider" ]]; then
13
+ export VSCODE_CLI_DOWNLOAD_ENDPOINT=" https://github.com/VSCodium/vscodium-insiders/releases"
14
+ else
15
+ export VSCODE_CLI_DOWNLOAD_ENDPOINT=" https://github.com/VSCodium/vscodium/releases"
16
+ fi
10
17
11
18
TUNNEL_APPLICATION_NAME=" $( node -p " require(\" ../product.json\" ).tunnelApplicationName" ) "
12
19
NAME_SHORT=" $( node -p " require(\" ../product.json\" ).nameShort" ) "
58
65
export CC_aarch64_unknown_linux_gnu=aarch64-linux-gnu-gcc
59
66
export CXX_aarch64_unknown_linux_gnu=aarch64-linux-gnu-g++
60
67
export PKG_CONFIG_ALLOW_CROSS=1
61
-
62
- sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu crossbuild-essential-arm64
63
68
elif [[ " ${VSCODE_ARCH} " == " armhf" ]]; then
64
69
VSCODE_CLI_TARGET=" armv7-unknown-linux-gnueabihf"
65
70
69
74
export CC_armv7_unknown_linux_gnueabihf=arm-linux-gnueabihf-gcc
70
75
export CXX_armv7_unknown_linux_gnueabihf=arm-linux-gnueabihf-g++
71
76
export PKG_CONFIG_ALLOW_CROSS=1
72
-
73
- sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf crossbuild-essential-armhf
74
77
elif [[ " ${VSCODE_ARCH} " == " x64" ]]; then
75
78
VSCODE_CLI_TARGET=" x86_64-unknown-linux-gnu"
76
79
fi
Original file line number Diff line number Diff line change @@ -13,12 +13,14 @@ index 2ddefe1..ab9c658 100644
13
13
+ .join(args.release.quality.server_entrypoint().unwrap());
14
14
15
15
diff --git a/cli/src/constants.rs b/cli/src/constants.rs
16
- index 1e277a8..353aee7 100644
16
+ index 1e277a8..97f17d3 100644
17
17
--- a/cli/src/constants.rs
18
18
+++ b/cli/src/constants.rs
19
- @@ -36,2 +36,5 @@ pub const VSCODE_CLI_COMMIT: Option<&'static str> = option_env!("VSCODE_CLI_COMM
20
- pub const VSCODE_CLI_UPDATE_ENDPOINT: Option<&'static str> = option_env!("VSCODE_CLI_UPDATE_URL");
21
- + pub const VSCODE_CLI_DOWNLOAD_ENDPOINT: Option<&'static str> = option_env!("VSCODE_CLI_DOWNLOAD_URL");
19
+ @@ -35,3 +35,6 @@ pub const DOCUMENTATION_URL: Option<&'static str> = option_env!("VSCODE_CLI_DOCU
20
+ pub const VSCODE_CLI_COMMIT: Option<&'static str> = option_env!("VSCODE_CLI_COMMIT");
21
+ - pub const VSCODE_CLI_UPDATE_ENDPOINT: Option<&'static str> = option_env!("VSCODE_CLI_UPDATE_URL");
22
+ + pub const VSCODE_CLI_UPDATE_ENDPOINT: Option<&'static str> = option_env!("VSCODE_CLI_UPDATE_ENDPOINT");
23
+ + pub const VSCODE_CLI_DOWNLOAD_ENDPOINT: Option<&'static str> = option_env!("VSCODE_CLI_DOWNLOAD_ENDPOINT");
22
24
+ pub const VSCODE_CLI_APP_NAME: Option<&'static str> = option_env!("VSCODE_CLI_APP_NAME");
23
25
+ pub const VSCODE_CLI_BINARY_NAME: Option<&'static str> = option_env!("VSCODE_CLI_BINARY_NAME");
24
26
You can’t perform that action at this time.
0 commit comments