From 1b03387a4f2b92da80efdda496cd5a4d6d77bbef Mon Sep 17 00:00:00 2001 From: ConorBobbleHat Date: Sat, 30 Dec 2023 00:52:21 +0000 Subject: [PATCH] wine --- .github/workflows/regression.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index a1d1629..9417306 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -21,6 +21,12 @@ jobs: run: | sudo apt-get update sudo apt-get install -y file unzip wget dos2unix binutils-arm-none-eabi binutils-powerpc-linux-gnu binutils-mips-linux-gnu + + sudo dpkg --add-architecture i386 + sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list + sudo apt-get update -qq + sudo apt-get install -yqq --allow-downgrades libc6:i386 libgcc-s1:i386 libstdc++6:i386 wine + pipx install poetry - name: Build release @@ -37,6 +43,14 @@ jobs: path: wibo-test-suite/decomp.me/backend/compilers/download_cache key: ${{ runner.os }}-compilers-${{ hashFiles('wibo-test-suite/decomp.me/backend/compilers/compilers.*.yaml') }} + - name: Wine setup + shell: bash + run: | + mkdir -p "${WINEPREFIX}" + wineboot --init + env: + WINEPREFIX: /tmp/wine + - name: Run test suite shell: bash run: |