readme: add GBA to the consoles table + acknowledgements #23
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: Build verification | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' | |
| jobs: | |
| build: | |
| name: build (${{ matrix.console }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - console: gamecube | |
| image: ghcr.io/extremscorner/libogc2:latest | |
| artifacts: | | |
| gamecube/joypad-tester-gamecube.dol | |
| gamecube/joypad-tester-wii.dol | |
| gamecube/opening.bnr | |
| - console: gba | |
| image: devkitpro/devkitarm:latest | |
| artifacts: | | |
| gba/build/joypad/joypad_mb.gba | |
| gba/build/joypad/joypad_payload.c | |
| gba/build/tester/tester_mb.gba | |
| gba/build/tester/tester_payload.c | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install Pillow (for banner generation) | |
| if: matrix.console == 'gamecube' | |
| run: pip install --quiet Pillow | |
| - name: Generate banner | |
| if: matrix.console == 'gamecube' | |
| working-directory: ${{ matrix.console }} | |
| run: python3 buildtools/make_banner.py opening.bnr | |
| - name: Generate screensaver logo header | |
| if: matrix.console == 'gamecube' | |
| working-directory: ${{ matrix.console }} | |
| run: python3 buildtools/make_logo.py | |
| - name: Build (gamecube target) | |
| if: matrix.console == 'gamecube' | |
| run: | | |
| docker run --rm \ | |
| -v "${{ github.workspace }}":/workspace \ | |
| -w /workspace/${{ matrix.console }} \ | |
| -u "$(id -u):$(id -g)" \ | |
| ${{ matrix.image }} \ | |
| bash -c "apt-get install -y -qq --no-install-recommends -t bookworm-backports xorriso 2>/dev/null; TARGET_CONSOLE=gamecube make" | |
| - name: Build (wii target) | |
| if: matrix.console == 'gamecube' | |
| run: | | |
| docker run --rm \ | |
| -v "${{ github.workspace }}":/workspace \ | |
| -w /workspace/${{ matrix.console }} \ | |
| -u "$(id -u):$(id -g)" \ | |
| ${{ matrix.image }} \ | |
| bash -c "TARGET_CONSOLE=wii make" | |
| - name: Build (GBA — both variants) | |
| if: matrix.console == 'gba' | |
| run: | | |
| docker run --rm \ | |
| -v "${{ github.workspace }}":/workspace \ | |
| -w /workspace/gba \ | |
| -u "$(id -u):$(id -g)" \ | |
| ${{ matrix.image }} \ | |
| make | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.console }}-${{ github.sha }} | |
| path: ${{ matrix.artifacts }} | |
| if-no-files-found: error | |
| retention-days: 7 |