Skip to content

Commit

Permalink
Test against ubuntu-24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
TerrorJack committed May 14, 2024
1 parent 9f4fd4d commit ee3616d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ on:

jobs:
build:
name: build
runs-on: ubuntu-latest
name: build-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
- ubuntu-22.04
steps:

- name: checkout
Expand Down
9 changes: 7 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ curl -f -L --retry 5 https://apt.llvm.org/llvm-snapshot.gpg.key | sudo gpg --dea
{
echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME main"
echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME-18 main"
} | sudo tee /etc/apt/sources.list.d/llvm-toolchain.list

if [[ $LSB_CODENAME != "noble" ]]; then
{
echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME-17 main"
echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME-16 main"
} | sudo tee /etc/apt/sources.list.d/llvm-toolchain.list
} | sudo tee -a /etc/apt/sources.list.d/llvm-toolchain.list
fi

sudo apt update
exec sudo apt update

0 comments on commit ee3616d

Please sign in to comment.