From 90e5f607bd326ab6089ce435f79983f3272862d5 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 20 May 2021 23:03:30 +0100 Subject: [PATCH] CI: Bump update-alternatives priority to 100 This didn't seem to have worked in the past, the new value matches the recomendation on the GitHub Actions clang-11 default announcement: https://github.com/actions/virtual-environments/issues/3235 --- .github/workflows/cmake.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index b32b24807b..fcd97984e1 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -188,8 +188,8 @@ jobs: sudo apt-get purge -y clang-10 clang-11 sudo apt-get update sudo apt-get install clang-12 ninja-build - 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 + 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 if: ${{ runner.os == 'Linux' }} - name: Install macOS dependencies run: brew install ninja