Build Node bindings against Ubuntu 20.04

Build Node bindings against Ubuntu 20.04
This commit is contained in:
Ivan Enderlin
2023-04-26 15:12:39 +02:00
committed by GitHub
3 changed files with 11 additions and 8 deletions

View File

@@ -92,10 +92,11 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
# Use Ubuntu LTS-1 for broader glibc compatibility.
os: [ubuntu-20.04]
node-version: [16.0, 18.0, 19.0, 20.0]
include:
- os: ubuntu-latest
- os: ubuntu-20.04
os-name: 🐧
- os: macos-latest

View File

@@ -110,7 +110,7 @@ jobs:
trigger-release:
# and trigger the tagging release workflow
uses: matrix-org/matrix-rust-sdk/.github/workflows/release-crypto-nodejs.yml@main
uses: ./.github/workflows/release-crypto-nodejs.yml
needs: ['prepare-release']
name: "Trigger release Workflow"
with:

View File

@@ -39,19 +39,21 @@ jobs:
matrix:
include:
# ----------------------------------- Linux
# Use Ubuntu LTS-1 for broader glibc compatibility.
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
os: ubuntu-20.04
- target: i686-unknown-linux-gnu
apt_install: gcc-i686-linux-gnu g++-i686-linux-gnu
os: ubuntu-latest
os: ubuntu-20.04
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
os: ubuntu-20.04
apt_install: gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
- target: arm-unknown-linux-gnueabihf
os: ubuntu-latest
os: ubuntu-20.04
apt_install: gcc-arm-linux-gnueabihf
- target: x86_64-unknown-linux-musl
os: ubuntu-latest
os: ubuntu-20.04
apt_install: musl-tools
# ----------------------------------- macOS
- target: aarch64-apple-darwin
os: macos-latest