Add a very basic example module and build it in the CI

This commit is contained in:
Maschell
2022-02-04 22:49:31 +01:00
parent fdf9993069
commit 4abbcbf848
7 changed files with 251 additions and 3 deletions

15
Dockerfile.buildexamples Normal file
View File

@@ -0,0 +1,15 @@
FROM wiiuenv/devkitppc:20211229
WORKDIR build
COPY . .
RUN make clean && make && mkdir -p /artifacts/wums && cp -r lib /artifacts/wums && cp -r include /artifacts/wums && cp -r share /artifacts/wums
WORKDIR /artifacts
FROM scratch as libwums
COPY --from=0 /artifacts /artifacts
FROM wiiuenv/devkitppc:20211229
COPY --from=libwums /artifacts $DEVKITPRO
WORKDIR project