From 25526eb10a80498ab7705d9b2af3a0de5ef889ad Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Mon, 11 Sep 2023 02:32:28 +0100 Subject: [PATCH] add workflow for wiiu --- .github/workflows/wiiu.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/wiiu.yml diff --git a/.github/workflows/wiiu.yml b/.github/workflows/wiiu.yml new file mode 100644 index 00000000000000..a3835a4b436291 --- /dev/null +++ b/.github/workflows/wiiu.yml @@ -0,0 +1,21 @@ +name: Build (Nintendo WiiU) + +on: [push, pull_request] + +jobs: + wiiu: + runs-on: ubuntu-latest + container: + image: devkitpro/devkitppc:latest + steps: + - uses: actions/checkout@v3 + - name: Configure CMake + run: | + ${DEVKITPRO}/portlibs/wiiu/bin/powerpc-eabi-cmake -S . -B build -G Ninja \ + -DSDL_WERROR=ON \ + -DSDL_TESTS=ON \ + -DSDL_INSTALL_TESTS=ON \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=${DEVKITPRO}/portlibs/wiiu + - name: Build + run: ${DEVKITPRO}/portlibs/wiiu/bin/powerpc-eabi-cmake --build build