Update Dockerfile and workflow

This commit is contained in:
GaryOderNichts 2024-04-02 17:11:20 +02:00
parent 0d19b3dca7
commit dfce0c4601
2 changed files with 17 additions and 5 deletions

View File

@ -4,13 +4,13 @@ on: [push, pull_request]
jobs:
build-binary:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build binary
run: |
docker run --rm -v ${PWD}:/project garyodernichts/wiiuident_builder make
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: WiiUIdent
path: |

View File

@ -1,5 +1,17 @@
FROM ghcr.io/wiiu-env/devkitppc:20230417
FROM ghcr.io/wiiu-env/devkitppc:20231112
COPY --from=ghcr.io/wiiu-env/libmocha:20230417 /artifacts $DEVKITPRO
COPY --from=ghcr.io/wiiu-env/libmocha:20231127 /artifacts $DEVKITPRO
# Build latest wut
RUN \
mkdir wut && \
cd wut && \
git init . && \
git remote add origin https://github.com/devkitPro/wut.git && \
git fetch --depth 1 origin 682f8eb48a79796e653eb711c001ba47355f351c && \
git checkout FETCH_HEAD
WORKDIR /wut
RUN make -j$(nproc)
RUN make install
WORKDIR /project