Actions: Upgrade Clang from 11 to 13
This commit is contained in:
parent
c2b5d52404
commit
98bb7f287e
8
.github/workflows/coverage.yml
vendored
8
.github/workflows/coverage.yml
vendored
@ -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 \
|
||||
|
8
.github/workflows/linux.yml
vendored
8
.github/workflows/linux.yml
vendored
@ -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 \
|
||||
|
@ -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}:"
|
||||
|
Loading…
Reference in New Issue
Block a user