[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master c4a85fc 06/28: Install the required packages
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master c4a85fc 06/28: Install the required packages before checkout in the CI job |
Date: |
Wed, 12 May 2021 18:14:42 -0400 (EDT) |
branch: master
commit c4a85fc556c015144dfeb8256585628bc0a0fb35
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Install the required packages before checkout in the CI job
When using the slim Debian container, we need to install Git before
checking the sources out, as it's not available in the base image.
This commit is best viewed using --color-moved option.
---
.github/workflows/ci.yml | 42 +++++++++++++++++++++---------------------
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 35f2ad0..792cb7b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -45,27 +45,6 @@ jobs:
LMI_TRIPLET: ${{ matrix.triplet || 'x86_64-pc-linux-gnu' }}
steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- submodules: 'recursive'
-
- - name: Install Wine
- if: matrix.mingw
- run: |
- sudo dpkg --add-architecture i386
-
- wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo
apt-key add -
- sudo add-apt-repository "deb
https://dl.winehq.org/wine-builds/debian $(lsb_release -cs) main"
-
- sudo apt-get -qq update
-
- # Workaround the issue with Wine.
- sudo apt-get -qq install libasound2-plugins:i386 libgphoto2-6:i386
- sudo apt-get -qq install wine-stable-i386
- sudo apt-get -qq install wine-stable
- sudo apt-get -qq install --install-recommends winehq-stable
-
- name: Install required packages
run: |
export DEBIAN_FRONTEND=noninteractive
@@ -89,6 +68,27 @@ jobs:
sudo apt-get -q -o=Dpkg::Use-Pty=0 update
sudo apt-get -qq install $packages
+ - name: Checkout
+ uses: actions/checkout@v2
+ with:
+ submodules: 'recursive'
+
+ - name: Install Wine
+ if: matrix.mingw
+ run: |
+ sudo dpkg --add-architecture i386
+
+ wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo
apt-key add -
+ sudo add-apt-repository "deb
https://dl.winehq.org/wine-builds/debian $(lsb_release -cs) main"
+
+ sudo apt-get -qq update
+
+ # Workaround the issue with Wine.
+ sudo apt-get -qq install libasound2-plugins:i386 libgphoto2-6:i386
+ sudo apt-get -qq install wine-stable-i386
+ sudo apt-get -qq install wine-stable
+ sudo apt-get -qq install --install-recommends winehq-stable
+
- name: System and environment setup
run: |
sudo sed -i'' -e 's/^int _putenv/_CRTIMP int _putenv/'
/usr/share/libtool/build-aux/ltmain.sh
- [lmi-commits] [lmi] master aa750df 12/28: Work around global_settings_test failure in autotools builds, (continued)
- [lmi-commits] [lmi] master aa750df 12/28: Work around global_settings_test failure in autotools builds, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 0d89ef3 07/28: Install sudo without using sudo, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 2814dec 11/28: Check for comparison operator defaulting in configure C++ test, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master e5160fe 20/28: Revert "Add workaround for Boost.Regex compilation with clang 11", Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master d09dfce 17/28: Merge lmi directories creation step with the system setup one, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 95c9f72 08/28: Use Debian Wine version in CI job, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 4a1c735 19/28: Rename CI job and build names for brevity and consistency, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master e46db7c 21/28: Work around std::allocator::size_type problem in clang 11 libc++, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 4a09a23 09/28: Work around JRE installation problem in Debian slim container, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 21706da 25/28: Fix expression_template_0_test compilation with clang 12, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master c4a85fc 06/28: Install the required packages before checkout in the CI job,
Greg Chicares <=
- [lmi-commits] [lmi] master 5d5054f 18/28: Use correct permissions for the Git checkout, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 3a89381 24/28: Create /tmp/.X11-unix directory before running Xvfb, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 5c2b93a 23/28: Install x11-xserver-utils package to get xset, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 2be5478 27/28: Preserve NUL characters in fs::path::string(), Greg Chicares, 2021/05/12