Patch 9.0.1289

4 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 6, 2023, 3:23:28 PM2/6/23
to vim...@googlegroups.com

Patch 9.0.1289
Problem: A newer version of clang can be used for CI.
Solution: Switch from clang-15 to clang-16. (closes #11577)
Files: .github/workflows/ci.yml


*** ../vim-9.0.1288/.github/workflows/ci.yml 2023-01-28 10:43:47.157153173 +0000
--- .github/workflows/ci.yml 2023-02-06 20:20:33.033804573 +0000
***************
*** 100,116 ****
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
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

- name: Set up environment
run: |
--- 100,116 ----
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-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}-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: |
*** ../vim-9.0.1288/src/version.c 2023-02-06 19:32:03.751105251 +0000
--- src/version.c 2023-02-06 20:22:30.225691971 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1289,
/**/

--
From "know your smileys":
:-E Has major dental problems

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages