summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorichizok <gclient.gaap@gmail.com>2022-01-15 13:37:14 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-15 13:37:14 +0000
commit1050476ead81a49be0289f40b2041c47a70c95ab (patch)
tree0b7683817fda653f04e21c010dd6d4d9621f6a90 /.github
parente3ce17a3ca838954728df21ccb6c2a724490203d (diff)
downloadvim-git-1050476ead81a49be0289f40b2041c47a70c95ab.tar.gz
patch 8.2.4096: Linux CI: unnecessarily installing packagesv8.2.4096
Problem: Linux CI: unnecessarily installing packages Solution: Only install packages for huge build. (Ozaki Kiichi, closes #9530)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml34
1 files changed, 20 insertions, 14 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d91b6644b..2f0bc49dd 100644
--- 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: |