Try jammy repo

release/4.3a0
Frank Dellaert 2023-02-05 01:25:30 -08:00
parent 3c512d6a4f
commit 249655104a
1 changed files with 6 additions and 4 deletions

View File

@ -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