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