File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 99
1010jobs :
1111 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
1420 steps :
1521
1622 - 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
99{
1010 echo " deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME main"
1111 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+ {
1216 echo " deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME -17 main"
1317 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
1520
16- sudo apt update
21+ exec sudo apt update
You can’t perform that action at this time.
0 commit comments