Revert "Replace wine with wibo (#484)"

This reverts commit e67c36d5a7.
This commit is contained in:
Ethan Roseman
2022-07-29 11:41:20 -04:00
parent f3edcec3ad
commit 91131f9b4d
12 changed files with 106 additions and 50 deletions
+13 -1
View File
@@ -18,7 +18,12 @@ jobs:
- run: cd backend && poetry install
- name: Install dependencies
run: |-
sudo dpkg --add-architecture i386
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 86B72ED9
sudo add-apt-repository 'deb [arch=amd64] https://mirror.mxe.cc/repos/apt focal main'
sudo apt -qq update
sudo apt install -y --allow-downgrades libpcre2-8-0=10.34-7
sudo apt install -y wine
sudo apt-get install \
binutils-mips-linux-gnu \
binutils-powerpc-linux-gnu \
@@ -58,10 +63,13 @@ jobs:
wget https://github.com/decompals/WiBo/releases/download/0.2.3/wibo && chmod +x wibo && sudo cp wibo /usr/bin/
- name: Run backend tests
run: |-
mkdir -p "${WINEPREFIX}"
wineboot --init
cd backend
poetry run python3 manage.py test
env:
SYSTEM_ENV: GITHUB_WORKFLOW
WINEPREFIX: /tmp/wine
- name: Migrate backend
run: cd backend && poetry run python3 ./manage.py migrate
@@ -103,7 +111,10 @@ jobs:
- uses: actions/checkout@v2
- name: Build decompme_backend image
run: |-
docker build backend -t decompme_backend
docker build backend \
-t decompme_backend \
--build-arg ENABLE_WII_GC_SUPPORT=YES \
--build-arg ENABLE_PS1_SUPPORT=YES
- name: Run tests
run: |-
mkdir -p sandbox && chmod 777 sandbox
@@ -115,6 +126,7 @@ jobs:
--security-opt seccomp=unconfined \
--entrypoint /bin/bash \
-e COMPILER_BASE_PATH=/compilers \
-e WINEPREFIX=/tmp/wine \
-e LOCAL_FILE_DIR=/local_files \
decompme_backend -c 'cd /decomp.me/backend && \
poetry install && \