File tree Expand file tree Collapse file tree 4 files changed +16
-5
lines changed Expand file tree Collapse file tree 4 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,9 @@ jobs:
212
212
with :
213
213
submodules : true
214
214
215
+ - name : Install system dependencies
216
+ run : sudo apt update && sudo apt install -y libkrb5-dev
217
+
215
218
- name : Install quilt
216
219
uses : awalsh128/cache-apt-pkgs-action@latest
217
220
with :
@@ -292,6 +295,9 @@ jobs:
292
295
- name : Checkout repo
293
296
uses : actions/checkout@v3
294
297
298
+ - name : Install system dependencies
299
+ run : sudo apt update && sudo apt install -y libkrb5-dev
300
+
295
301
- name : Install Node.js v16
296
302
uses : actions/setup-node@v3
297
303
with :
@@ -348,6 +354,9 @@ jobs:
348
354
- name : Checkout repo
349
355
uses : actions/checkout@v3
350
356
357
+ - name : Install system dependencies
358
+ run : sudo apt update && sudo apt install -y libkrb5-dev
359
+
351
360
- name : Install Node.js v16
352
361
uses : actions/setup-node@v3
353
362
with :
Original file line number Diff line number Diff line change 46
46
yum install -y devtoolset-9-{make,gcc,gcc-c++} jq rsync python3
47
47
# for keytar
48
48
yum install -y libsecret-devel
49
+ # for kerberos
50
+ yum install -y krb5-devel
49
51
50
52
- name : Install nfpm and envsubst
51
53
run : |
@@ -157,8 +159,8 @@ jobs:
157
159
curl -sSfL https://github.com/goreleaser/nfpm/releases/download/v2.3.1/nfpm_2.3.1_`uname -s`_`uname -m`.tar.gz | tar -C ~/.local/bin -zxv nfpm
158
160
echo "$HOME/.local/bin" >> $GITHUB_PATH
159
161
160
- - name : Install cross-compiler
161
- run : sudo apt update && sudo apt install $PACKAGE
162
+ - name : Install cross-compiler and system dependencies
163
+ run : sudo apt update && sudo apt install -y $PACKAGE libkrb5-dev
162
164
env :
163
165
PACKAGE : ${{ format('g++-{0}', matrix.prefix) }}
164
166
@@ -305,7 +307,7 @@ jobs:
305
307
npm version --prefix release "$VERSION"
306
308
307
309
echo "Updating version in lib/vscode/product.json"
308
- tmp=$(mktemp)
310
+ tmp=$(mktemp)
309
311
jq ".codeServerVersion = \"$VERSION\"" release/lib/vscode/product.json > "$tmp" && mv "$tmp" release/lib/vscode/product.json
310
312
# Ensure it has the same permissions as before
311
313
chmod 644 release/lib/vscode/product.json
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ Here is what is needed:
63
63
If you're developing code-server on Linux, make sure you have installed or install the following dependencies:
64
64
65
65
``` shell
66
- sudo apt-get install build-essential g++ libx11-dev libxkbfile-dev libsecret-1-dev python-is-python3
66
+ sudo apt-get install build-essential g++ libx11-dev libxkbfile-dev libsecret-1-dev libkrb5-dev python-is-python3
67
67
```
68
68
69
69
These are required by Code. See [ their Wiki] ( https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites ) for more information.
Original file line number Diff line number Diff line change 14
14
nativeBuildInputs = with pkgs ; [
15
15
nodejs yarn' python3 pkg-config git rsync jq moreutils quilt bats
16
16
] ;
17
- buildInputs = with pkgs ; ( lib . optionals ( ! stdenv . isDarwin ) [ libsecret ]
17
+ buildInputs = with pkgs ; ( lib . optionals ( ! stdenv . isDarwin ) [ libsecret libkrb5 ]
18
18
++ ( with xorg ; [ libX11 libxkbfile ] )
19
19
++ lib . optionals stdenv . isDarwin ( with pkgs . darwin . apple_sdk . frameworks ; [
20
20
AppKit Cocoa CoreServices Security xcbuild
You can’t perform that action at this time.
0 commit comments