diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index c65ab0a2a6f..6bceeebd34a 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -182,7 +182,14 @@ jobs: # === OS SETUP === # - name: Install Ubuntu dependencies - run: sudo apt-get install ninja-build + run: | + wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - + sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main" + sudo apt-get purge -y clang-10 + 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 if: ${{ runner.os == 'Linux' }} - name: Install macOS dependencies run: brew install ninja