# HG changeset patch # User Bram Moolenaar # Date 1642254303 -3600 # Node ID 1ea88ee85a7ac25f3dd0e282984045c0077294bd # Parent 939b925908b126946160fc3261f623aab27c085a patch 8.2.4096: Linux CI: unnecessarily installing packages Commit: https://github.com/vim/vim/commit/1050476ead81a49be0289f40b2041c47a70c95ab Author: ichizok Date: Sat Jan 15 13:37:14 2022 +0000 patch 8.2.4096: Linux CI: unnecessarily installing packages Problem: Linux CI: unnecessarily installing packages Solution: Only install packages for huge build. (Ozaki Kiichi, closes #9530) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,25 +63,30 @@ jobs: - uses: actions/checkout@v2 - name: Install packages - if: matrix.features == 'huge' run: | - sudo apt update && sudo apt install -y \ - autoconf \ - lcov \ + PKGS=( \ 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 + ) + 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,6 +289,7 @@ jobs: - uses: actions/checkout@v2 - name: Install packages + if: matrix.features == 'huge' env: HOMEBREW_NO_AUTO_UPDATE: 1 run: | diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4096, +/**/ 4095, /**/ 4094,