From b4026f22039779da1cf894efe088b95b92546818 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sat, 6 Aug 2022 20:31:46 +0200 Subject: [PATCH] ci: Fix clang version --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1f3fe245..6797fe5b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -167,7 +167,8 @@ jobs: sudo apt-get install gcc-10 g++10 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 800 --slave /usr/bin/g++ g++ /usr/bin/g++-10 elif [[ "${{ matrix.generator }}" = "Clang" ]]; then - sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" 14 all + curl -jLo /tmp/llvm.sh https://apt.llvm.org/llvm.sh + sudo bash -x /tmp/llvm.sh 14 all sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 800 sudo update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-14 800 sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-14 800