0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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)
This commit is contained in:
ichizok 2022-01-15 13:37:14 +00:00 committed by Bram Moolenaar
parent e3ce17a3ca
commit 1050476ead
2 changed files with 22 additions and 14 deletions

View File

@ -63,25 +63,30 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install packages - name: Install packages
if: matrix.features == 'huge'
run: | run: |
sudo apt update && sudo apt install -y \ PKGS=( \
autoconf \
lcov \
gettext \ gettext \
libcanberra-dev \
libperl-dev \
python-dev \
python3-dev \
liblua5.3-dev \
lua5.3 \
ruby-dev \
tcl-dev \
cscope \
libgtk2.0-dev \ libgtk2.0-dev \
desktop-file-utils \ desktop-file-utils \
libtool-bin \ 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 - name: Install clang-13
if: matrix.compiler == 'clang' if: matrix.compiler == 'clang'
@ -284,6 +289,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install packages - name: Install packages
if: matrix.features == 'huge'
env: env:
HOMEBREW_NO_AUTO_UPDATE: 1 HOMEBREW_NO_AUTO_UPDATE: 1
run: | run: |

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
4096,
/**/ /**/
4095, 4095,
/**/ /**/