Update build.yml

This commit is contained in:
2fort sink
2026-02-02 20:46:58 -03:00
committed by GitHub
parent 9c60697344
commit 72961aa2f1

View File

@@ -42,6 +42,7 @@ jobs:
- name: Make ccache shims
run: | # yes it's as bad as it sounds and it doesn't make sense but exosphere uses both aarch64 and arm32 gcc and g++
mkdir -p .dkp-wrappers
cat > .dkp-wrappers/aarch64-none-elf-gcc <<'EOF'
#!/bin/sh
exec ccache /opt/devkitpro/devkitA64/bin/aarch64-none-elf-gcc "$@"
@@ -67,6 +68,8 @@ jobs:
EOF
chmod +x .dkp-wrappers/arm-none-eabi-g++
echo "PATH="$PWD/.dkp-wrappers:$PATH" >> $GITHUB_ENV
- name: Set commit SHA
id: vars
run: echo "SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-7)" >> $GITHUB_ENV
@@ -167,7 +170,6 @@ jobs:
- name: Build exosphere
working-directory: build/exosphere
run: |
export PATH="$PWD/.dkp-wrappers:$PATH"
export PATCHES="../../Source/Atmosphere-Patches"
export ROOT=".."
cp "$PATCHES/secmon_memory_layout.hpp" "$ROOT/libraries/libexosphere/include/exosphere/secmon/"