| 1 | name: Nintendo Switch |
| 2 | |
| 3 | on: [push, pull_request] |
| 4 | |
| 5 | jobs: |
| 6 | build: |
| 7 | runs-on: ubuntu-latest |
| 8 | container: devkitpro/devkita64:latest |
| 9 | |
| 10 | steps: |
| 11 | - uses: actions/checkout@v6 |
| 12 | |
| 13 | - name: Configure CMake |
| 14 | run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=${DEVKITPRO}/cmake/Switch.cmake |
| 15 | |
| 16 | - name: Build |
| 17 | run: cmake --build ${{github.workspace}}/build --config Release |