summaryrefslogtreecommitdiff
path: root/.github/workflows/sonar-cloud-static-analysis.yml
diff options
context:
space:
mode:
authorNathan Wallace <dev@nathanbw.com>2022-05-23 16:12:57 -0400
committerTim Flynn <trflynn89@pm.me>2022-05-24 06:30:57 -0400
commit2f1029e7c40c68284192c0a31b0da87edb58ed20 (patch)
tree0151f7cf3ba1b16e45c5dbece47a76e2f874d018 /.github/workflows/sonar-cloud-static-analysis.yml
parent6a4b125fe50aaa3f59fdcc09f34b17ba23d49666 (diff)
downloadserenity-2f1029e7c40c68284192c0a31b0da87edb58ed20.zip
Meta+CI: Upgrade to ubuntu-22.04
This commit upgrades Github Actions workers to ubuntu-22.04 As part of that change, we (currently) no longer need the backports nor toolchain-r/test PPAs, because ubuntu-22.04 include recent-enough version of QEMU and gcc
Diffstat (limited to '.github/workflows/sonar-cloud-static-analysis.yml')
-rw-r--r--.github/workflows/sonar-cloud-static-analysis.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/sonar-cloud-static-analysis.yml b/.github/workflows/sonar-cloud-static-analysis.yml
index 04766171e8..7233866284 100644
--- a/.github/workflows/sonar-cloud-static-analysis.yml
+++ b/.github/workflows/sonar-cloud-static-analysis.yml
@@ -54,13 +54,12 @@ jobs:
# TODO: Is there someway to share these steps with the cmake.yml?
- name: "Install Ubuntu dependencies"
- # These packages are already part of the ubuntu-20.04 image:
+ # These packages are already part of the ubuntu-22.04 image:
# cmake libgmp-dev npm shellcheck
# Packages below aren't.
run: |
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
- sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main'
+ sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-14 main'
sudo apt-get update
sudo apt-get install -y clang-format-14 gcc-11 g++-11 libstdc++-11-dev libmpfr-dev libmpc-dev ninja-build unzip