mirror of
https://github.com/encounter/decomp.me.git
synced 2026-03-30 11:06:27 -07:00
Use wibo for NDS (#902)
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user