Update build.yml
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user