Try jammy repo
parent
3c512d6a4f
commit
249655104a
|
@ -33,7 +33,7 @@ jobs:
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- name: ubuntu-clang-deprecated
|
- name: ubuntu-clang-deprecated
|
||||||
os: ubuntu-20.04
|
os: ubuntu-22.04
|
||||||
compiler: clang
|
compiler: clang
|
||||||
version: "14"
|
version: "14"
|
||||||
flag: deprecated
|
flag: deprecated
|
||||||
|
@ -69,7 +69,10 @@ jobs:
|
||||||
- name: Install (Linux)
|
- name: Install (Linux)
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
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
|
if [ "${{ matrix.compiler }}" = "clang" ]; then
|
||||||
# (ipv4|ha).pool.sks-keyservers.net is the SKS GPG global keyserver pool
|
# (ipv4|ha).pool.sks-keyservers.net is the SKS GPG global keyserver pool
|
||||||
# ipv4 avoids potential timeouts because of crappy IPv6 infrastructure
|
# ipv4 avoids potential timeouts because of crappy IPv6 infrastructure
|
||||||
|
@ -78,10 +81,9 @@ jobs:
|
||||||
LLVM_KEY=15CF4D18AF4F7421
|
LLVM_KEY=15CF4D18AF4F7421
|
||||||
gpg --keyserver keyserver.ubuntu.com --recv-key $LLVM_KEY || gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-key $LLVM_KEY
|
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 -
|
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
|
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 -y install cmake build-essential pkg-config libpython3-dev python3-numpy libicu-dev
|
||||||
|
|
||||||
sudo apt-get install -y clang-${{ matrix.version }} g++-multilib
|
sudo apt-get install -y clang-${{ matrix.version }} g++-multilib
|
||||||
|
|
Loading…
Reference in New Issue