Actions: Upgrade Clang from 11 to 13

This commit is contained in:
Sebastian Pipping 2021-12-26 18:30:06 +01:00
parent c2b5d52404
commit 98bb7f287e
3 changed files with 9 additions and 9 deletions

View File

@ -46,16 +46,16 @@ jobs:
- name: Add Clang/LLVM repositories
run: |-
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main'
sudo add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-13 main'
- name: Install build dependencies
# NOTE: Please note the version-specific ${PATH} extension for Clang in .travis.sh
run: |-
sudo dpkg --add-architecture i386 # for wine32
sudo apt-get update
sudo apt-get install --yes --no-install-recommends -V \
clang-11 \
clang-format-11 \
llvm-11 \
clang-13 \
clang-format-13 \
llvm-13 \
cmake \
docbook2x \
dos2unix \

View File

@ -80,16 +80,16 @@ jobs:
- name: Add Clang/LLVM repositories
run: |-
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main'
sudo add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-13 main'
- name: Install build dependencies
# NOTE: Please note the version-specific ${PATH} extension for Clang in .travis.sh
run: |-
sudo dpkg --add-architecture i386 # for wine32
sudo apt-get update
sudo apt-get install --yes --no-install-recommends -V \
clang-11 \
clang-format-11 \
llvm-11 \
clang-13 \
clang-format-13 \
llvm-13 \
cmake \
docbook2x \
dos2unix \

View File

@ -39,7 +39,7 @@ if [[ ${TRAVIS_OS_NAME} = osx ]]; then
export PATH="/usr/local/opt/coreutils/libexec/gnubin${PATH:+:}${PATH}"
export PATH="/usr/local/opt/findutils/libexec/gnubin${PATH:+:}${PATH}"
elif [[ ${TRAVIS_OS_NAME} = linux ]]; then
export PATH="/usr/lib/llvm-11/bin:${PATH}"
export PATH="/usr/lib/llvm-13/bin:${PATH}"
fi
echo "New \${PATH}:"