To: vim_dev@googlegroups.com Subject: Patch 8.2.4096 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4096 Problem: Linux CI: unnecessarily installing packages Solution: Only install packages for huge build. (Ozaki Kiichi, closes #9530) Files: .github/workflows/ci.yml *** ../vim-8.2.4095/.github/workflows/ci.yml 2022-01-14 21:28:55.580849073 +0000 --- .github/workflows/ci.yml 2022-01-15 13:19:57.562777234 +0000 *************** *** 63,87 **** - uses: actions/checkout@v2 - name: Install packages - if: matrix.features == 'huge' run: | ! sudo apt update && sudo apt install -y \ ! autoconf \ ! lcov \ gettext \ - libcanberra-dev \ - libperl-dev \ - python-dev \ - python3-dev \ - liblua5.3-dev \ - lua5.3 \ - ruby-dev \ - tcl-dev \ - cscope \ libgtk2.0-dev \ desktop-file-utils \ libtool-bin \ ! libsodium-dev - name: Install clang-13 if: matrix.compiler == 'clang' --- 63,92 ---- - uses: actions/checkout@v2 - name: Install packages run: | ! PKGS=( \ gettext \ libgtk2.0-dev \ desktop-file-utils \ libtool-bin \ ! ) ! if ${{ matrix.features == 'huge' }}; then ! PKGS+=( \ ! autoconf \ ! lcov \ ! libcanberra-dev \ ! libperl-dev \ ! python-dev \ ! python3-dev \ ! liblua5.3-dev \ ! lua5.3 \ ! ruby-dev \ ! tcl-dev \ ! cscope \ ! libsodium-dev \ ! ) ! fi ! sudo apt update && sudo apt install -y "${PKGS[@]}" - name: Install clang-13 if: matrix.compiler == 'clang' *************** *** 284,289 **** --- 289,295 ---- - uses: actions/checkout@v2 - name: Install packages + if: matrix.features == 'huge' env: HOMEBREW_NO_AUTO_UPDATE: 1 run: | *** ../vim-8.2.4095/src/version.c 2022-01-15 12:27:03.540876108 +0000 --- src/version.c 2022-01-15 13:21:08.122832104 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4096, /**/ -- "Shoot for the moon. Even if you miss, you'll land among the stars." /// 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 ///