]> granicus.if.org Git - vim/commitdiff
patch 9.0.1289: a newer version of clang can be used for CI v9.0.1289
authorPhilip H <47042125+pheiduck@users.noreply.github.com>
Mon, 6 Feb 2023 20:22:48 +0000 (20:22 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 6 Feb 2023 20:22:48 +0000 (20:22 +0000)
Problem:    A newer version of clang can be used for CI.
Solution:   Switch from clang-15 to clang-16. (closes #11577)

.github/workflows/ci.yml
src/version.c

index 00ef41fed0e8a1f09ec6a05fd01c56d3f43ccfe4..c8c4875f08ccb9d623ae20fdf85c23f9b4ec54d0 100644 (file)
@@ -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: |
index 46ad75c7b8cd3b40dbc45fda525b393db21d9006..d7b12b1f1afd31cf4b0accfacfe974397ceec1ff 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1289,
 /**/
     1288,
 /**/