diff --git a/.github/workflows/build-special.yml b/.github/workflows/build-special.yml index 3ac081e70..f5ad0b51e 100644 --- a/.github/workflows/build-special.yml +++ b/.github/workflows/build-special.yml @@ -33,7 +33,7 @@ jobs: include: - name: ubuntu-clang-deprecated - os: ubuntu-20.04 + os: ubuntu-22.04 compiler: clang version: "14" flag: deprecated @@ -69,7 +69,10 @@ jobs: - name: Install (Linux) if: runner.os == 'Linux' run: | - # LLVM (clang) 9/14 is not in Bionic's repositories so we add the official LLVM repository. + sudo apt-get -y update + sudo apt-get -y install software-properties-common + + # LLVM (clang) 9/14 is not in 22.04 (jammy)'s repositories so we add the official LLVM repository. if [ "${{ matrix.compiler }}" = "clang" ]; then # (ipv4|ha).pool.sks-keyservers.net is the SKS GPG global keyserver pool # ipv4 avoids potential timeouts because of crappy IPv6 infrastructure @@ -78,10 +81,9 @@ jobs: LLVM_KEY=15CF4D18AF4F7421 gpg --keyserver keyserver.ubuntu.com --recv-key $LLVM_KEY || gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-key $LLVM_KEY gpg -a --export $LLVM_KEY | sudo apt-key add - - sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main" + sudo add-apt-repository "deb deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main" main" fi - sudo apt-get -y update sudo apt-get -y install cmake build-essential pkg-config libpython3-dev python3-numpy libicu-dev sudo apt-get install -y clang-${{ matrix.version }} g++-multilib