Skip to content

Commit c13b41d

Browse files
committed
ci: upgrade from Ubuntu 20.04 to 22.04
CI was complaining about a too-old Ubuntu version. So let's upgrade. We should be good for the next 2 years or so. I upgraded to 22.04 (and not 24.04) because older LLVM versions (such as LLVM 16) aren't available from apt.llvm.org for this newer Ubuntu version.
1 parent 9dca92d commit c13b41d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run:
3232
go test -v
3333
test-linux:
34-
runs-on: ubuntu-20.04
34+
runs-on: ubuntu-22.04
3535
strategy:
3636
matrix:
3737
llvm: [14, 15, 16, 17, 18, 19]
@@ -44,7 +44,7 @@ jobs:
4444
go-version: '1.22'
4545
- name: Install LLVM
4646
run: |
47-
echo 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-${{ matrix.llvm }} main' | sudo tee /etc/apt/sources.list.d/llvm.list
47+
echo 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-${{ matrix.llvm }} main' | sudo tee /etc/apt/sources.list.d/llvm.list
4848
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
4949
sudo apt-get update
5050
sudo apt-get install --no-install-recommends llvm-${{ matrix.llvm }}-dev

0 commit comments

Comments
 (0)