Update CI packages #158
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: gekkoboot build | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| name: Build gekkoboot | |
| runs-on: ubuntu-latest | |
| container: devkitpro/devkitppc:latest | |
| steps: | |
| - name: Install packages | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends build-essential meson/bookworm-backports 7zip/bookworm-backports clang-format-16 | |
| - name: Checkout gekkoboot | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Fetch Qoob prebuilt | |
| run: curl -Lo res/ipl.rom https://github.com/redolution/gekkoboot/releases/download/r5.2/iplboot.gcb | |
| - name: Build gekkoboot | |
| run: | | |
| export PATH="$DEVKITPPC/bin:$PATH" | |
| meson setup . build --cross-file=devkitPPC.ini -Dfull_rom='enabled' | |
| meson compile -C build | |
| ninja -C build clang-format-check | |
| - name: Upload build artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: gekkoboot | |
| path: build | |
| include-hidden-files: true |