diff options
author | Philip H <47042125+pheiduck@users.noreply.github.com> | 2022-09-07 13:30:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-07 13:30:19 +0100 |
commit | bd01f476ea8751ce9787271742017b69149edc22 (patch) | |
tree | 69c2586902d98bd5ddf8eeb39b420e661dd3f210 | |
parent | e68f1348f25766c669e27e1f7da2453c46e4c981 (diff) |
patch 9.0.0401: CI uses older clang versionv9.0.0401
Problem: CI uses older clang version.
Solution: Switch from clang 14 to 15. (closes #11066)
-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 ebbccd77ac..e4f234a41a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,17 +98,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-14 + - name: Install clang-15 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}-14 main" - sudo apt install -y clang-14 llvm-14 - sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 100 - sudo update-alternatives --set clang /usr/bin/clang-14 - sudo update-alternatives --install /usr/bin/llvm-cov llvm-cov /usr/bin/llvm-cov-14 100 - sudo update-alternatives --install /usr/bin/asan_symbolize asan_symbolize /usr/bin/asan_symbolize-14 100 + 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 - name: Set up environment run: | diff --git a/src/version.c b/src/version.c index a46236ac10..3d6a344e11 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 401, +/**/ 400, /**/ 399, |