Maintenance updates #993
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Nintendo CI | |
| on: | |
| push: | |
| branches: ['main'] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| nintendo-build: | |
| name: Nintendo ${{ matrix.config.name }} CI | |
| runs-on: ubuntu-24.04 | |
| container: | |
| image: devkitpro/${{ matrix.config.container }}:${{ matrix.config.revision }} ## based on debian:buster-slim | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| - name: 3ds | |
| extension: 3dsx | |
| container: devkitarm | |
| revision: "20250728" | |
| - name: switch | |
| extension: nro | |
| container: devkita64 | |
| revision: "20250728" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: '0' | |
| # NOTE: meson has no dependencies, so --break-system-packages doesn't really break anything! | |
| - name: Setup Meson | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install python3 python3-pip -y --no-install-recommends | |
| pip install meson --break-system-packages | |
| - name: Setup ninja | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install ninja-build -y --no-install-recommends | |
| - name: Configure and Build | |
| run: | | |
| bash ./platforms/build-${{ matrix.config.name }}.sh complete_rebuild release CI | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.config.name }} Executable | |
| path: build-${{ matrix.config.name }}/oopetris.${{ matrix.config.extension }} |