From 0d58050defca465cbb0e09d39b10d24572e39cd5 Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Fri, 26 Jun 2026 12:10:43 -0500 Subject: [PATCH] Switch gamecube-iso to run inside extremscorner/libogc2 container Avoids devkitPro apt server rate-limiting in CI by using the pre-built ghcr.io/extremscorner/libogc2 container (same base as the Dockerfile). Toolchain is already installed; only apt/dkp extras are added per-run. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c95e2100..093f8cb5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -137,11 +137,33 @@ jobs: build-gamecube-iso: runs-on: ubuntu-latest + container: + image: ghcr.io/extremscorner/libogc2:latest steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Setup devkitPro - uses: ./.github/actions/setup-devkitpro + - name: Install additional dependencies + run: | + apt-get update + apt-get install -y \ + python3 \ + python3-pip \ + python3-polib \ + python3-pil \ + python3-dotenv \ + python3-pyqt5 \ + python3-opengl \ + xorriso + dkp-pacman -Syu --noconfirm + dkp-pacman -S --needed --noconfirm \ + gamecube-sdl2 \ + ppc-liblzma \ + ppc-libzip \ + gamecube-tools \ + ppc-libmad \ + ppc-zlib-ng \ + ppc-bzip2 \ + ppc-zstd - name: Build GameCube ISO run: ./scripts/build-gamecube-iso.sh - name: Copy output files