CI: update llvm apt sources to correct ubuntu version

In the pipelines.yml file we request Ubuntu 18.04 Bionic Beaver, but in
the script we were still using the Xenial apt.llvm.org sources.
This commit is contained in:
Andrew Kelley 2019-12-20 13:40:07 -05:00
parent 4d54e9a4fb
commit 9daa7e1e19
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -5,7 +5,7 @@ set -e
BUILDDIR="$(pwd)" BUILDDIR="$(pwd)"
sudo sh -c 'echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main" >> /etc/apt/sources.list' sudo sh -c 'echo "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main" >> /etc/apt/sources.list'
wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add - wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update -q sudo apt-get update -q