Fix gamecube-iso: use docker run instead of job container
Build Dusk / build-gamecube-iso (push) Failing after 5s

actions/checkout requires Node.js which the libogc2 container lacks.
Checkout on the runner, then run the full build inside the container
via docker run with the workspace mounted.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-26 12:16:21 -05:00
parent 0d58050def
commit 5c93503710
+16 -25
View File
@@ -137,35 +137,26 @@ jobs:
build-gamecube-iso: build-gamecube-iso:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: ghcr.io/extremscorner/libogc2:latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- 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 - name: Build GameCube ISO
run: ./scripts/build-gamecube-iso.sh run: |
docker run --rm \
-v "${{ github.workspace }}:/workdir" \
-w /workdir \
ghcr.io/extremscorner/libogc2:latest \
/bin/bash -c "
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 &&
./scripts/build-gamecube-iso.sh
"
- name: Copy output files - name: Copy output files
run: | run: |
mkdir -p ./git-artifcats/Dusk mkdir -p ./git-artifcats/Dusk