[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 80c978c 10/30: Run apt-get only once to insta
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 80c978c 10/30: Run apt-get only once to install all packages in the CI workflow |
Date: |
Wed, 24 Mar 2021 15:31:08 -0400 (EDT) |
branch: master
commit 80c978ce7d924943f48125ac8f3a84700559969b
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Run apt-get only once to install all packages in the CI workflow
This is slightly faster and results in less output than running it
several times.
---
.github/workflows/ci.yml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a2158b9..91ff1ac 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -55,21 +55,21 @@ jobs:
- name: Install required packages
run: |
- sudo apt-get --assume-yes install \
+ packages="\
automake bc bsdmainutils bzip2 curl cvs default-jre \
g++-multilib git jing libarchive-tools \
libtool libxml2-utils libxslt1-dev make patch pkg-config rsync \
- shellcheck sudo trang unzip wget xsltproc xvfb zsh
+ shellcheck sudo trang unzip wget xsltproc xvfb zsh"
if ${{ matrix.mingw }}
then
- sudo apt-get --assume-yes install \
- g++-mingw-w64-i686
+ packages="$packages g++-mingw-w64-i686"
else
- sudo apt-get --assume-yes install \
- libunwind-dev libdw-dev libgtk-3-dev
+ packages="$packages libunwind-dev libdw-dev libgtk-3-dev"
fi
+ sudo apt-get --assume-yes install $packages
+
- name: Fix up libtool
run: sudo sed -i'' -e 's/^int _putenv/_CRTIMP int _putenv/'
/usr/share/libtool/build-aux/ltmain.sh
- [lmi-commits] [lmi] master updated (038e34d -> 0b85c14), Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 2b7e012 02/30: Rename tests in automake Makefile to use foo_test convention too, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 06a8f83 01/30: Add libtest_common to automake Makefile, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master dad090e 05/30: Add build directory to PATH when running lmi tests with autotools, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 80c978c 10/30: Run apt-get only once to install all packages in the CI workflow,
Greg Chicares <=
- [lmi-commits] [lmi] master 35acf2a 03/30: Force linking CLI alert initialization functions into the tests, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master db6123b 06/30: Use -frounding-math option when building with autotools too, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 2c9d788 12/30: Run apt-get quietly in GitHub Actions CI workflow, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master f8a78ba 15/30: Add a CI build using clang with autotools too, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master c5d4a99 17/30: Show config.log if configure step in the CI build fails, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master d5728f4 19/30: Show the test suite log if running tests failed in the CI build, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 48c0613 20/30: Fix Boost detection and use in configure with clang in C++17 mode, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 41bd0a3 22/30: Update wx submodule to avoid clang warning in wx/hashmap.h, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 1f94454 25/30: Disable clang -Wstring-plus-int warning, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 12922c2 27/30: Generate product files in the CI builds using autotools too, Greg Chicares, 2021/03/24