Mercurial > vim
changeset 31914:0aef9a59f24c v9.0.1289
patch 9.0.1289: a newer version of clang can be used for CI
Commit: https://github.com/vim/vim/commit/43e234e8b48caf59d6895a31628dad0bba4fd5c8
Author: Philip H <47042125+pheiduck@users.noreply.github.com>
Date: Mon Feb 6 20:22:48 2023 +0000
patch 9.0.1289: a newer version of clang can be used for CI
Problem: A newer version of clang can be used for CI.
Solution: Switch from clang-15 to clang-16. (closes https://github.com/vim/vim/issues/11577)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 06 Feb 2023 21:30:04 +0100 |
parents | 9950a3648a40 |
children | 4a1822a9bd05 |
files | .github/workflows/ci.yml src/version.c |
diffstat | 2 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -100,17 +100,17 @@ jobs: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 sudo update-alternatives --set gcc /usr/bin/gcc-11 - - name: Install clang-15 + - name: Install clang-16 if: matrix.compiler == 'clang' run: | wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - . /etc/lsb-release - sudo add-apt-repository -y "deb http://apt.llvm.org/${DISTRIB_CODENAME}/ llvm-toolchain-${DISTRIB_CODENAME}-15 main" - sudo apt install -y clang-15 llvm-15 - sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 100 - sudo update-alternatives --set clang /usr/bin/clang-15 - sudo update-alternatives --install /usr/bin/llvm-cov llvm-cov /usr/bin/llvm-cov-15 100 - sudo update-alternatives --install /usr/bin/asan_symbolize asan_symbolize /usr/bin/asan_symbolize-15 100 + sudo add-apt-repository -y "deb http://apt.llvm.org/${DISTRIB_CODENAME}/ llvm-toolchain-${DISTRIB_CODENAME}-16 main" + sudo apt install -y clang-16 llvm-16 + sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-16 100 + sudo update-alternatives --set clang /usr/bin/clang-16 + sudo update-alternatives --install /usr/bin/llvm-cov llvm-cov /usr/bin/llvm-cov-16 100 + sudo update-alternatives --install /usr/bin/asan_symbolize asan_symbolize /usr/bin/asan_symbolize-16 100 - name: Set up environment run: |