File tree 2 files changed +15
-4
lines changed
2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
build :
12
- name : build
13
- runs-on : ubuntu-latest
12
+ name : build-${{ matrix.os }}
13
+ runs-on : ${{ matrix.os }}
14
+ strategy :
15
+ fail-fast : false
16
+ matrix :
17
+ os :
18
+ - ubuntu-24.04
19
+ - ubuntu-22.04
14
20
steps :
15
21
16
22
- name : checkout
Original file line number Diff line number Diff line change @@ -9,8 +9,13 @@ curl -f -L --retry 5 https://apt.llvm.org/llvm-snapshot.gpg.key | sudo gpg --dea
9
9
{
10
10
echo " deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME main"
11
11
echo " deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME -18 main"
12
+ } | sudo tee /etc/apt/sources.list.d/llvm-toolchain.list
13
+
14
+ if [[ $LSB_CODENAME != " noble" ]]; then
15
+ {
12
16
echo " deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME -17 main"
13
17
echo " deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME -16 main"
14
- } | sudo tee /etc/apt/sources.list.d/llvm-toolchain.list
18
+ } | sudo tee -a /etc/apt/sources.list.d/llvm-toolchain.list
19
+ fi
15
20
16
- sudo apt update
21
+ exec sudo apt update
You can’t perform that action at this time.
0 commit comments