From: Nathan Moinvaziri Date: Thu, 3 Feb 2022 23:14:56 +0000 (-0800) Subject: Add wine repositories only when needed. X-Git-Tag: 2.1.0-beta1~391 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=036d46c0ca2dc106986ab3ee347f804a1ac32247;p=thirdparty%2Fzlib-ng.git Add wine repositories only when needed. --- diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 670081078..f99e6b140 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -373,11 +373,15 @@ jobs: repository: zlib-ng/corpora path: test/data/corpora + - name: Add repositories (Wine) + if: contains(matrix.packages, 'wine') + run: | + sudo dpkg --add-architecture i386 + sudo apt-add-repository ppa:ondrej/php -y + - name: Install packages (Ubuntu) if: runner.os == 'Linux' && matrix.packages run: | - sudo dpkg --add-architecture i386 # Required for wine32 - sudo apt-add-repository ppa:ondrej/php -y sudo apt-get update sudo apt-get install -y ${{ matrix.packages }}