To: vim_dev@googlegroups.com Subject: Patch 9.0.1474 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1474 Problem: CI runs with old version of Ubuntu and tools. Solution: Update CI to more recent versions. (closes #11092) Files: .github/workflows/ci.yml, .github/workflows/coverity.yml *** ../vim-9.0.1473/.github/workflows/ci.yml 2023-04-21 17:46:53.608517717 +0100 --- .github/workflows/ci.yml 2023-04-21 19:43:59.102788167 +0100 *************** *** 17,26 **** jobs: linux: ! runs-on: ubuntu-20.04 env: CC: ${{ matrix.compiler }} TEST: test SRCDIR: ./src LEAK_CFLAGS: -DEXITFREE --- 17,28 ---- jobs: linux: ! runs-on: ubuntu-22.04 env: CC: ${{ matrix.compiler }} + GCC_VER: 12 + CLANG_VER: 16 TEST: test SRCDIR: ./src LEAK_CFLAGS: -DEXITFREE *************** *** 81,90 **** lcov \ libcanberra-dev \ libperl-dev \ ! python-dev \ python3-dev \ ! liblua5.3-dev \ ! lua5.3 \ ruby-dev \ tcl-dev \ cscope \ --- 83,92 ---- lcov \ libcanberra-dev \ libperl-dev \ ! python2-dev \ python3-dev \ ! liblua5.4-dev \ ! lua5.4 \ ruby-dev \ tcl-dev \ cscope \ *************** *** 93,116 **** fi sudo apt-get update && sudo apt-get install -y "${PKGS[@]}" ! - name: Install gcc-11 if: matrix.compiler == 'gcc' run: | ! sudo apt-get install -y gcc-11 ! 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-get 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: | --- 95,118 ---- fi sudo apt-get update && sudo apt-get install -y "${PKGS[@]}" ! - name: Install gcc-${{ env.GCC_VER }} if: matrix.compiler == 'gcc' run: | ! sudo apt-get install -y gcc-${{ env.GCC_VER }} ! sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ env.GCC_VER }} 100 ! sudo update-alternatives --set gcc /usr/bin/gcc-${{ env.GCC_VER }} ! - name: Install clang-${{ env.CLANG_VER }} 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}-${{ env.CLANG_VER }} main" ! sudo apt-get install -y clang-${{ env.CLANG_VER }} llvm-${{ env.CLANG_VER }} ! sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ env.CLANG_VER }} 100 ! sudo update-alternatives --set clang /usr/bin/clang-${{ env.CLANG_VER }} ! sudo update-alternatives --install /usr/bin/llvm-cov llvm-cov /usr/bin/llvm-cov-${{ env.CLANG_VER }} 100 ! sudo update-alternatives --install /usr/bin/asan_symbolize asan_symbolize /usr/bin/asan_symbolize-${{ env.CLANG_VER }} 100 - name: Set up environment run: | *** ../vim-9.0.1473/.github/workflows/coverity.yml 2022-11-25 00:57:02.099316757 +0000 --- .github/workflows/coverity.yml 2023-04-21 19:43:59.110788175 +0100 *************** *** 9,15 **** jobs: scan: ! runs-on: ubuntu-20.04 env: CC: gcc --- 9,15 ---- jobs: scan: ! runs-on: ubuntu-22.04 env: CC: gcc *************** *** 32,46 **** - name: Install packages if: env.TOKEN run: | ! sudo apt update && sudo apt install -y \ autoconf \ gettext \ libcanberra-dev \ libperl-dev \ ! python-dev \ python3-dev \ ! liblua5.3-dev \ ! lua5.3 \ ruby-dev \ tcl-dev \ libgtk2.0-dev \ --- 32,46 ---- - name: Install packages if: env.TOKEN run: | ! sudo apt-get update && sudo apt-get install -y \ autoconf \ gettext \ libcanberra-dev \ libperl-dev \ ! python2-dev \ python3-dev \ ! liblua5.4-dev \ ! lua5.4 \ ruby-dev \ tcl-dev \ libgtk2.0-dev \ *** ../vim-9.0.1473/src/version.c 2023-04-21 17:46:53.608517717 +0100 --- src/version.c 2023-04-21 19:45:28.850860088 +0100 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1474, /**/ -- FROG: How you English say: I one more time, mac, I unclog my nose towards you, sons of a window-dresser, so, you think you could out-clever us French fellows with your silly knees-bent creeping about advancing behaviour. (blows a raspberry) I wave my private parts at your aunties, you brightly-coloured, mealy-templed, cranberry-smelling, electric donkey-bottom biters. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@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 ///