mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
build with clang12
This commit is contained in:
parent
245d076f49
commit
a01e6453f2
1 changed files with 2 additions and 5 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -306,11 +306,8 @@ jobs:
|
||||||
sudo apt-get -y install \
|
sudo apt-get -y install \
|
||||||
clang-12
|
clang-12
|
||||||
|
|
||||||
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-12 60
|
echo "CC=clang-12" >> "$GITHUB_ENV"
|
||||||
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-12 60
|
echo "CXX=clang++-12" >> "$GITHUB_ENV"
|
||||||
# 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
|
|
||||||
|
|
||||||
- name: Apply Qt patches (Ubuntu)
|
- name: Apply Qt patches (Ubuntu)
|
||||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.qt-version, '5.')
|
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.qt-version, '5.')
|
||||||
|
|
Loading…
Reference in a new issue