travis: use llvm-toolchain-focal-12
@@ -113,9 +113,11 @@ matrix:
compiler: clang
addons:
apt:
+ sources:
+ - llvm-toolchain-focal-12
packages:
- - llvm-11
- - clang-11
+ - llvm-12
+ - clang-12
env:
- ENABLE_ASAN=ON
- CC=clang
@@ -161,9 +163,11 @@ matrix:
compiler: clang
addons:
apt:
+ sources:
+ - llvm-toolchain-focal-12
packages:
- - clang-11
- - clang-format-11
+ - clang-12
+ - clang-format-12
env:
- CC=clang
- CXX=clang++
@@ -201,7 +205,7 @@ before_script:
export CC_FOR_BUILD="$CC"
export CXX_FOR_BUILD="$CXX"
if [ "$CC" = 'clang' ]; then
- export PATH="/usr/lib/llvm-11/bin":$PATH
+ export PATH="/usr/lib/llvm-12/bin":$PATH
fi
mkdir build && cd build
CMAKE_OPT+=(
