Skip to content

Commit 4ace440

Browse files
committed
CI: test on Ubuntu 18.10 which has glibc 2.28
See actions/checkout#1590
1 parent a756f0a commit 4ace440

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test-and-publish.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
# see https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available
7272
python_version: [ '3.10' ]
7373
runs-on: ${{ matrix.os }}
74-
container: ${{ (startsWith(matrix.os, 'ubuntu') && 'ubuntu:18.04') || null }} # Use the Ubuntu 20.04 container inside Ubuntu 22.04 runner to build
74+
container: ${{ (startsWith(matrix.os, 'ubuntu') && 'ubuntu:18.10') || null }} # Use the Ubuntu 20.04 container inside Ubuntu 22.04 runner to build
7575
steps:
7676
- uses: actions/checkout@v4
7777
- name: Read the mozilla-central commit hash to be used
@@ -99,7 +99,7 @@ jobs:
9999
apt-get install -y lsb-release wget software-properties-common gnupg
100100
wget https://apt.llvm.org/llvm.sh
101101
chmod +x llvm.sh
102-
./llvm.sh 18 # install LLVM version 18
102+
./llvm.sh 18 -n=bionic # install LLVM version 18
103103
update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-18 18
104104
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 18
105105
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 18
@@ -183,7 +183,7 @@ jobs:
183183
os: [ 'ubuntu-22.04', 'macos-13', 'macos-14', 'windows-2022', 'ubuntu-22.04-arm' ]
184184
python_version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
185185
runs-on: ${{ matrix.os }}
186-
container: ${{ (startsWith(matrix.os, 'ubuntu') && 'ubuntu:18.04') || null }}
186+
container: ${{ (startsWith(matrix.os, 'ubuntu') && 'ubuntu:18.10') || null }}
187187
steps:
188188
- name: Setup container
189189
if: ${{ startsWith(matrix.os, 'ubuntu') }}
@@ -202,7 +202,7 @@ jobs:
202202
# CMake 3.25 or higher is required
203203
apt-get install -y ca-certificates gpg wget
204204
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
205-
echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ focal main' | sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null
205+
echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ bionic main' | sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null
206206
apt-get update -y && apt-get install -y cmake
207207
- uses: actions/checkout@v4
208208
with:

0 commit comments

Comments
 (0)