Skip to content

Commit a7659f1

Browse files
authored
Build Node bindings against Ubuntu 20.04
Build Node bindings against Ubuntu 20.04
2 parents 51a2d10 + 8e05599 commit a7659f1

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.github/workflows/bindings_ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,11 @@ jobs:
9292
strategy:
9393
fail-fast: true
9494
matrix:
95-
os: [ubuntu-latest]
95+
# Use Ubuntu LTS-1 for broader glibc compatibility.
96+
os: [ubuntu-20.04]
9697
node-version: [16.0, 18.0, 19.0, 20.0]
9798
include:
98-
- os: ubuntu-latest
99+
- os: ubuntu-20.04
99100
os-name: 🐧
100101

101102
- os: macos-latest

.github/workflows/prep-crypto-nodejs-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
111111
trigger-release:
112112
# and trigger the tagging release workflow
113-
uses: matrix-org/matrix-rust-sdk/.github/workflows/release-crypto-nodejs.yml@main
113+
uses: ./.github/workflows/release-crypto-nodejs.yml
114114
needs: ['prepare-release']
115115
name: "Trigger release Workflow"
116116
with:

.github/workflows/release-crypto-nodejs.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,21 @@ jobs:
3939
matrix:
4040
include:
4141
# ----------------------------------- Linux
42+
# Use Ubuntu LTS-1 for broader glibc compatibility.
4243
- target: x86_64-unknown-linux-gnu
43-
os: ubuntu-latest
44+
os: ubuntu-20.04
4445
- target: i686-unknown-linux-gnu
4546
apt_install: gcc-i686-linux-gnu g++-i686-linux-gnu
46-
os: ubuntu-latest
47+
os: ubuntu-20.04
4748
- target: aarch64-unknown-linux-gnu
48-
os: ubuntu-latest
49+
os: ubuntu-20.04
4950
apt_install: gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
5051
- target: arm-unknown-linux-gnueabihf
51-
os: ubuntu-latest
52+
os: ubuntu-20.04
5253
apt_install: gcc-arm-linux-gnueabihf
5354
- target: x86_64-unknown-linux-musl
54-
os: ubuntu-latest
55+
os: ubuntu-20.04
56+
apt_install: musl-tools
5557
# ----------------------------------- macOS
5658
- target: aarch64-apple-darwin
5759
os: macos-latest

0 commit comments

Comments
 (0)