mirror of
https://github.com/GaryOderNichts/WiiUIdent.git
synced 2024-12-25 08:01:51 +01:00
Update Dockerfile and workflow
This commit is contained in:
parent
0d19b3dca7
commit
dfce0c4601
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -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: |
|
||||
|
16
Dockerfile
16
Dockerfile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user