Fix installation of kerberos module on armv7l (#6442)
Also build with the same version of Node we will release with.
This commit is contained in:
parent
7868f4db23
commit
58f6e24a07
17
.github/workflows/release.yaml
vendored
17
.github/workflows/release.yaml
vendored
@ -129,7 +129,7 @@ jobs:
|
||||
- name: Install Node.js v18
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "18"
|
||||
node-version: "18.15.0"
|
||||
|
||||
- name: Install nfpm
|
||||
run: |
|
||||
@ -137,11 +137,24 @@ jobs:
|
||||
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
|
||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Install cross-compiler and system dependencies
|
||||
- name: Install cross-compiler and system dependencies (arm64)
|
||||
if: ${{ matrix.arch != 'armv7l' }}
|
||||
run: sudo apt update && sudo apt install -y $PACKAGE libkrb5-dev
|
||||
env:
|
||||
PACKAGE: ${{ format('g++-{0}', matrix.prefix) }}
|
||||
|
||||
- name: Install cross-compiler and system dependencies (armv7l)
|
||||
if: ${{ matrix.arch == 'armv7l' }}
|
||||
run: |
|
||||
sudo sed -i "s/^deb/deb [arch=amd64,i386]/g" /etc/apt/sources.list
|
||||
echo "deb [arch=arm64,armhf] http://ports.ubuntu.com/ $(lsb_release -s -c) main universe multiverse restricted" | sudo tee -a /etc/apt/sources.list
|
||||
echo "deb [arch=arm64,armhf] http://ports.ubuntu.com/ $(lsb_release -s -c)-updates main universe multiverse restricted" | sudo tee -a /etc/apt/sources.list
|
||||
sudo dpkg --add-architecture armhf
|
||||
sudo apt update
|
||||
sudo apt install -y $PACKAGE libkrb5-dev:armhf
|
||||
env:
|
||||
PACKAGE: ${{ format('g++-{0}', matrix.prefix) }}
|
||||
|
||||
- name: Download npm package
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
|
@ -20,4 +20,3 @@ display-language.diff
|
||||
cli-window-open.diff
|
||||
getting-started.diff
|
||||
safari.diff
|
||||
dependencies.diff
|
||||
|
Reference in New Issue
Block a user