Mercurial > vim
comparison .github/workflows/ci.yml @ 28437:c01ae844a9cc v8.2.4743
patch 8.2.4743: clang 14 is available on CI
Commit: https://github.com/vim/vim/commit/9bbe5c6b8c44e08c90510c36596d13e54ca0eea4
Author: Philip H <47042125+pheiduck@users.noreply.github.com>
Date: Tue Apr 12 15:40:12 2022 +0100
patch 8.2.4743: clang 14 is available on CI
Problem: Clang 14 is available on CI.
Solution: Switch from clang 13 to 14. (closes https://github.com/vim/vim/issues/10157)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 12 Apr 2022 16:45:02 +0200 |
parents | 52a5f4a8eef5 |
children | da67829ad0d3 |
comparison
equal
deleted
inserted
replaced
28436:394a65e476ea | 28437:c01ae844a9cc |
---|---|
86 libsodium-dev \ | 86 libsodium-dev \ |
87 ) | 87 ) |
88 fi | 88 fi |
89 sudo apt update && sudo apt install -y "${PKGS[@]}" | 89 sudo apt update && sudo apt install -y "${PKGS[@]}" |
90 | 90 |
91 - name: Install clang-13 | 91 - name: Install clang-14 |
92 if: matrix.compiler == 'clang' | 92 if: matrix.compiler == 'clang' |
93 run: | | 93 run: | |
94 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - | 94 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - |
95 . /etc/lsb-release | 95 . /etc/lsb-release |
96 sudo add-apt-repository -y "deb http://apt.llvm.org/${DISTRIB_CODENAME}/ llvm-toolchain-${DISTRIB_CODENAME}-13 main" | 96 sudo add-apt-repository -y "deb http://apt.llvm.org/${DISTRIB_CODENAME}/ llvm-toolchain-${DISTRIB_CODENAME}-14 main" |
97 sudo apt-get install -y clang-13 llvm-13 | 97 sudo apt-get install -y clang-14 llvm-14 |
98 sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-13 100 | 98 sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 100 |
99 sudo update-alternatives --set clang /usr/bin/clang-13 | 99 sudo update-alternatives --set clang /usr/bin/clang-14 |
100 sudo update-alternatives --install /usr/bin/llvm-cov llvm-cov /usr/bin/llvm-cov-13 100 | 100 sudo update-alternatives --install /usr/bin/llvm-cov llvm-cov /usr/bin/llvm-cov-14 100 |
101 sudo update-alternatives --install /usr/bin/asan_symbolize asan_symbolize /usr/bin/asan_symbolize-13 100 | 101 sudo update-alternatives --install /usr/bin/asan_symbolize asan_symbolize /usr/bin/asan_symbolize-14 100 |
102 | 102 |
103 - name: Set up environment | 103 - name: Set up environment |
104 run: | | 104 run: | |
105 mkdir -p "${LOG_DIR}" | 105 mkdir -p "${LOG_DIR}" |
106 mkdir -p "${HOME}/bin" | 106 mkdir -p "${HOME}/bin" |