Skip to content

Commit

Permalink
.github: Update versions in covscan and release workflows
Browse files Browse the repository at this point in the history
Update actions/checkout and pin covscan environment to ubuntu-22.04
using clang-19.

Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
  • Loading branch information
tohojo committed Oct 13, 2024
1 parent 84d3c95 commit 66dc003
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/covscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ on:

jobs:
latest:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
LLVM_VERSION: 19
CLANG: clang-19
LLC: llc-19
steps:
- name: Check out repository code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive

Expand All @@ -22,9 +26,9 @@ jobs:
- name: Prepare Clang
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-11 main" | sudo tee -a /etc/apt/sources.list
echo "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-$LLVM_VERSION main" | sudo tee -a /etc/apt/sources.list
sudo apt-get -qq update
sudo apt-get -qq -y install clang-11 lld-11 llvm-11
sudo apt-get -qq -y install clang-$LLVM_VERSION lld-$LLVM_VERSION llvm-$LLVM_VERSION
- name: Download Coverity Build Tool
run: |
Expand All @@ -36,9 +40,6 @@ jobs:

- name: Configure
run: ./configure
env:
CLANG: clang-11
LLC: llc-11

- name: Build with cov-build
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Check out repository code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down

0 comments on commit 66dc003

Please sign in to comment.