build with clang12

This commit is contained in:
Rasmus Karlsson 2024-01-13 20:32:15 +01:00
parent 245d076f49
commit a01e6453f2

View file

@ -306,11 +306,8 @@ jobs:
sudo apt-get -y install \
clang-12
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-12 60
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-12 60
# Prioritize GCC/G++ 10 over default-installed GCC/G++ 9
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang 60
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++ 60
echo "CC=clang-12" >> "$GITHUB_ENV"
echo "CXX=clang++-12" >> "$GITHUB_ENV"
- name: Apply Qt patches (Ubuntu)
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.qt-version, '5.')