[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 00ac0ed: Fix GitHub CI issue with installing

From: Vadim Zeitlin
Subject: [lmi-commits] [lmi] master 00ac0ed: Fix GitHub CI issue with installing Wine package
Date: Mon, 28 Dec 2020 18:47:40 -0500 (EST)

branch: master
commit 00ac0edb3b4250129aeeb381e269bb5c9831031e
Author: Ilya Sinitsyn <isinitsyn@tt-solutions.com>
Commit: Vadim Zeitlin <vadim@tt-solutions.com>

    Fix GitHub CI issue with installing Wine package
    Installing Wine in GitHub Ubuntu 20.04 environment fails for unknown (in
    spite of spending a long time trying, and failing, to reproduce the
    issue locally and debug it remotely) reasons, so fix the CI builds by
    installing the packages from Wine HQ own repository, which should work
    at least as well and can be installed without problems.
 .github/workflows/ci.yml | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c94945e..6ae2f28 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -32,10 +32,24 @@ jobs:
           submodules: 'recursive'
-      - name: Install required packages
+      - 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/ubuntu $(lsb_release -cs) main"
           sudo apt-get update
+          # Workaround the issue with Wine.
+          sudo apt-get install libasound2-plugins:i386 libgphoto2-6:i386
+          sudo apt-get install wine-stable-i386
+          sudo apt-get install wine-stable
+          sudo apt-get install --install-recommends winehq-stable
+      - name: Install required packages
+        run: |
           sudo apt-get --assume-yes install \
             automake bc bsdmainutils bzip2 curl cvs default-jre \
             g++-multilib git jing libarchive-tools \
@@ -45,7 +59,7 @@ jobs:
           if ${{ matrix.mingw }}
             sudo apt-get --assume-yes install \
-              g++-mingw-w64-i686 wine32
+              g++-mingw-w64-i686
             sudo apt-get --assume-yes install \

reply via email to

[Prev in Thread] Current Thread [Next in Thread]