Skip to content

Commit 6e4195a

Browse files
committed
build on Ubuntu 22.04 for x64 Linux
1 parent 7d94640 commit 6e4195a

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/dusk.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,16 @@ jobs:
2222
aarch64-unknown-linux-gnu,
2323
]
2424
include:
25-
- os: linux-gh-4-16-150
25+
# Using Ubuntu 22.04 to keep min. glibc version as 2.35.
26+
#
27+
# The reason for doing this is so that the CI can pass for the
28+
# toolchain upgrade.
29+
# The min. glibc version required for a rust toolchain is the version present in the environment
30+
# that the toolchain is built in.
31+
# At this time, core uses Ubuntu 22.04 (glibc 2.35). Since most tests in the rusk CI run on core,
32+
# then building on the `linux-gh-4-16-150` runner which uses Ubuntu 24.04 (glibc 2.39) will lead
33+
# to incompatibilities.
34+
- os: core
2635
target: x86_64-unknown-linux-gnu
2736
- os: macos-latest-large
2837
target: x86_64-apple-darwin
@@ -38,8 +47,8 @@ jobs:
3847
fetch-depth: 0
3948

4049
- name: Setup dependencies
41-
if: matrix.os == 'ubuntu-latest'
42-
run: sudo apt update && sudo apt install -y ninja-build
50+
if: matrix.os == 'core'
51+
run: apt update && apt install -y ninja-build
4352

4453
- name: Setup dependencies
4554
if: startsWith(matrix.os, 'macos')

0 commit comments

Comments
 (0)