diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-02-14 22:57:45 +0200 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2022-02-14 23:55:23 +0200 |
commit | 6be75bd5e41f40b31721e5c22184d50ae1c440b7 (patch) | |
tree | 191b9e869d20f40ba77fb24b8aefaac60490e881 /Meta/Azure | |
parent | 745b998774fb6cd375933ef7eaea9b061aadd3a2 (diff) | |
download | serenity-6be75bd5e41f40b31721e5c22184d50ae1c440b7.zip |
Meta: Use clang-13 instead of clang-12 in Azure CI
This should hopefully resolve a clang ICE seen in PR #12523.
Diffstat (limited to 'Meta/Azure')
-rw-r--r-- | Meta/Azure/Setup.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Meta/Azure/Setup.yml b/Meta/Azure/Setup.yml index 4eb452c754..0fc86a1ed0 100644 --- a/Meta/Azure/Setup.yml +++ b/Meta/Azure/Setup.yml @@ -15,13 +15,15 @@ steps: - ${{ if eq(parameters.os, 'Linux') }}: - script: | - sudo apt-get purge -y clang-11 gcc-10 + sudo apt-get purge -y clang-11 clang-12 gcc-10 sudo add-apt-repository ppa:ubuntu-toolchain-r/test + wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - + sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main' sudo apt-get update - sudo apt-get install ccache gcc-11 g++-11 libstdc++-11-dev ninja-build unzip + sudo apt-get install ccache gcc-11 g++-11 clang-13 libstdc++-11-dev ninja-build unzip - sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-12 100 - sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-12 100 + sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-13 100 + sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-13 100 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 100 |