Build Wii U binaries via github actions

This commit is contained in:
Maschell 2020-10-02 21:33:09 +02:00
parent 122f6f991c
commit 6875dc981d
3 changed files with 17 additions and 5 deletions

View File

@ -32,3 +32,17 @@ jobs:
with:
name: linux-x86-64-shared
path: "./cmake-build/SDL2_Playground"
build-wiiu-binary:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: build binary
run: |
docker build . -f Dockerfile.wiiu -t sdl2_playground-builder-wiiu
docker run --rm -v ${PWD}:/project sdl2_playground-builder-wiiu make -f Makefile.wiiu
- uses: actions/upload-artifact@master
with:
name: wiiu
path: "*.rpx"

View File

@ -1,5 +1,3 @@
FROM wiiuenv/devkitppc:20200810
RUN dkp-pacman -Syu && dkp-pacman -S --noconfirm wiiu-sdl2-libs && dkp-pacman -Scc --noconfirm
FROM wiiuenv/devkitppc-with-sdl2:20201002
WORKDIR project

View File

@ -61,7 +61,7 @@ docker run -it --rm -v ${PWD}:/project sdl2_playground-builder-pc-win make -f .\
```
docker build . -f .\Dockerfile.wiiu -t sdl2_playground-builder-wiiu
docker run -it --rm -v ${PWD}:/project sdl2_playground-builder-wiiu make -f .\Makefile.wiiu -j16
docker run -it --rm -v ${PWD}:/project sdl2_playground-builder-wiiu make -f Makefile.wiiu -j16
```
### With local installation