mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
build with clang12
This commit is contained in:
parent
245d076f49
commit
a01e6453f2
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -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.')
|
||||
|
|
Loading…
Reference in a new issue