Use wibo for NDS (#902)

This commit is contained in:
Mark Street
2023-10-26 15:27:25 +01:00
committed by GitHub
parent 96f45a3ee2
commit a800b1e087
4 changed files with 8 additions and 8 deletions
+4 -3
View File
@@ -87,7 +87,7 @@ jobs:
poetry run python3 libraries/download.py
- name: Install wibo
run: |-
wget https://github.com/decompals/wibo/releases/download/0.6.7/wibo && chmod +x wibo && sudo cp wibo /usr/bin/
wget https://github.com/decompals/wibo/releases/download/0.6.8/wibo && chmod +x wibo && sudo cp wibo /usr/bin/
- name: Run backend tests
run: |-
@@ -153,9 +153,10 @@ jobs:
run: |-
docker build backend \
-t decompme_backend \
--build-arg ENABLE_GC_WII_SUPPORT=YES \
--build-arg ENABLE_MSDOS_SUPPORT=YES \
--build-arg ENABLE_PS2_SUPPORT=YES \
--build-arg ENABLE_SATURN_SUPPORT=YES \
--build-arg ENABLE_MSDOS_SUPPORT=YES
--build-arg ENABLE_WIN9X_SUPPORT=YES
- name: Run tests
run: |-
mkdir -p sandbox && chmod 777 sandbox
+2 -3
View File
@@ -63,16 +63,14 @@ RUN curl -sSL https://install.python-poetry.org/ | \
COPY --from=nsjail /nsjail/nsjail /bin/nsjail
COPY --from=ghcr.io/decompals/wibo:0.6.7 /usr/local/sbin/wibo /usr/bin/
COPY --from=ghcr.io/decompals/wibo:0.6.8 /usr/local/sbin/wibo /usr/bin/
# windows compilers need i386 wine
ARG ENABLE_MSDOS_SUPPORT
ARG ENABLE_NDS_ARM9_SUPPORT
ARG ENABLE_PS2_SUPPORT
ARG ENABLE_WIN9X_SUPPORT
RUN if [ "${ENABLE_MSDOS_SUPPORT}" = "YES" ] || \
[ "${ENABLE_NDS_ARM9_SUPPORT}" = "YES" ] || \
[ "${ENABLE_PS2_SUPPORT}" = "YES" ] || \
[ "${ENABLE_WIN9X_SUPPORT}" = "YES" ]; then \
dpkg --add-architecture i386 && apt-get update && \
@@ -127,6 +125,7 @@ ARG ENABLE_GC_WII_SUPPORT
ARG ENABLE_MACOSX_SUPPORT
ARG ENABLE_N3DS_SUPPORT
ARG ENABLE_N64_SUPPORT
ARG ENABLE_NDS_ARM9_SUPPORT
ARG ENABLE_PS1_SUPPORT
ARG ENABLE_SWITCH_SUPPORT
+1 -1
View File
@@ -914,7 +914,7 @@ PRODG_393 = GCCCompiler(
)
# NDS_ARM9
MWCCARM_CC = '${WINE} "${COMPILER_DIR}/mwccarm.exe" -pragma "msg_show_realref off" -c -proc arm946e -nostdinc -stderr ${COMPILER_FLAGS} -o "${OUTPUT}" "${INPUT}"'
MWCCARM_CC = '${WIBO} "${COMPILER_DIR}/mwccarm.exe" -pragma "msg_show_realref off" -c -proc arm946e -nostdinc -stderr ${COMPILER_FLAGS} -o "${OUTPUT}" "${INPUT}"'
MWCC_20_72 = MWCCCompiler(
id="mwcc_20_72",
+1 -1
View File
@@ -17,10 +17,10 @@ services:
ENABLE_GC_WII_SUPPORT: "YES"
ENABLE_N3DS_SUPPORT: "YES"
ENABLE_N64_SUPPORT: "YES"
ENABLE_NDS_ARM9_SUPPORT: "YES"
ENABLE_PS1_SUPPORT: "YES"
# dont install wine32 etc by default
ENABLE_MSDOS_SUPPORT: "NO"
ENABLE_NDS_ARM9_SUPPORT: "NO"
ENABLE_PS2_SUPPORT: "NO"
ENABLE_WIN9X_SUPPORT: "NO"
# dont install clang by default