From c52de31578f2a5b022d142f5082e51710dc5967c Mon Sep 17 00:00:00 2001 From: Magus Date: Thu, 2 Dec 2021 00:37:13 +0700 Subject: [PATCH] faster build --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 669edc73a8..356d2654f9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ env: jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -18,11 +18,14 @@ jobs: ./extra/tests.sh - name: Install packages + # The Github's Ubuntu images since 20211122.1 are broken + # https://github.com/actions/virtual-environments/issues/4589 run: | set -xeu -o pipefail sudo dpkg --add-architecture i386 sudo apt -qq update - sudo apt-get install -o=Dpkg::Use-Pty=0 -y crudini dos2unix gcc p7zip wine-stable wine32 + sudo apt install -y --allow-downgrades libpcre2-8-0=10.34-7 + sudo apt-get install -o=Dpkg::Use-Pty=0 -y crudini dos2unix gcc p7zip wine-stable wine32 >/dev/null wineboot - name: Build and package