diff options
author | Philip H <47042125+pheiduck@users.noreply.github.com> | 2023-02-06 20:22:48 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-02-06 20:22:48 +0000 |
commit | 43e234e8b48caf59d6895a31628dad0bba4fd5c8 (patch) | |
tree | 31a94d23ee2933530dca23162bd176f7337bb6e3 | |
parent | 91deac45392fe93094b9c31403b1ae771dc71938 (diff) | |
download | vim-git-43e234e8b48caf59d6895a31628dad0bba4fd5c8.tar.gz |
patch 9.0.1289: a newer version of clang can be used for CIv9.0.1289
Problem: A newer version of clang can be used for CI.
Solution: Switch from clang-15 to clang-16. (closes #11577)
-rw-r--r-- | .github/workflows/ci.yml | 14 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 9 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00ef41fed..c8c4875f0 100644 --- 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: | diff --git a/src/version.c b/src/version.c index 46ad75c7b..d7b12b1f1 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1289, +/**/ 1288, /**/ 1287, |