From a01e6453f259e14543d36c0a11c70172faefd1ec Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 13 Jan 2024 20:32:15 +0100 Subject: [PATCH] build with clang12 --- .github/workflows/build.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a3d4f1a8..83c5530a1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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.')