Update build.yml

This commit is contained in:
souldbminersmwc
2026-01-31 18:41:42 -05:00
parent 39366ce238
commit 159c7567c0

View File

@@ -10,25 +10,37 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Minimal devkitA64 container
container: container:
image: devkitpro/devkitpro-ci:latest image: devkitpro/devkita64:latest
steps: steps:
# ------------------------------------------------- # -------------------------------------------------
# Verify toolchain # Verify container
# ------------------------------------------------- # -------------------------------------------------
- name: Check environment - name: Check basic tools
run: | run: |
echo "DEVKITPRO = $DEVKITPRO" echo "DEVKITPRO = $DEVKITPRO"
aarch64-none-elf-gcc --version
arm-none-eabi-gcc --version
python3 --version python3 --version
make --version make --version
hactool --help >/dev/null hactool --help >/dev/null
zip --version >/dev/null zip --version >/dev/null
# ------------------------------------------------- # -------------------------------------------------
# Get short commit SHA for naming # Fix PATH for devkitA64 and devkitARM
# -------------------------------------------------
- name: Set devkitPro PATH
run: |
export DEVKITPRO=/opt/devkitpro
export DEVKITA64=$DEVKITPRO/devkitA64
export DEVKITARM=$DEVKITPRO/devkitARM
export PATH=$DEVKITA64/bin:$DEVKITARM/bin:$PATH
aarch64-none-elf-gcc --version
arm-none-eabi-gcc --version
shell: bash
# -------------------------------------------------
# Get short commit SHA
# ------------------------------------------------- # -------------------------------------------------
- name: Set commit SHA - name: Set commit SHA
id: vars id: vars