Update build.yml
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
image: devkitpro/devkita64:20251231 # latest breaks ams building for some reason
|
image: devkitpro/devkita64:20251231 # latest breaks ams building for some reason
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository and submodules # why are we doing this? I don't think we use submodules but memory doesn't serve so let's keep it
|
- name: Checkout repository and submodules # needed for hoc-clk
|
||||||
uses: actions/checkout@v6.0.2
|
uses: actions/checkout@v6.0.2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
@@ -42,8 +42,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Create compiler shims
|
- name: Create compiler shims
|
||||||
run: | #I deeply hate this from my heart
|
run: | #I deeply hate this from my heart
|
||||||
set -eux
|
|
||||||
|
|
||||||
# aarch64 gcc
|
# aarch64 gcc
|
||||||
mv /opt/devkitpro/devkitA64/bin/aarch64-none-elf-gcc /opt/devkitpro/devkitA64/bin/aarch64-none-elf-gcc.real
|
mv /opt/devkitpro/devkitA64/bin/aarch64-none-elf-gcc /opt/devkitpro/devkitA64/bin/aarch64-none-elf-gcc.real
|
||||||
cat > /opt/devkitpro/devkitA64/bin/aarch64-none-elf-gcc <<'EOF'
|
cat > /opt/devkitpro/devkitA64/bin/aarch64-none-elf-gcc <<'EOF'
|
||||||
@@ -75,7 +73,8 @@ jobs:
|
|||||||
exec ccache /opt/devkitpro/devkitARM/bin/arm-none-eabi-g++.real "$@"
|
exec ccache /opt/devkitpro/devkitARM/bin/arm-none-eabi-g++.real "$@"
|
||||||
EOF
|
EOF
|
||||||
chmod +x /opt/devkitpro/devkitARM/bin/arm-none-eabi-g++
|
chmod +x /opt/devkitpro/devkitARM/bin/arm-none-eabi-g++
|
||||||
echo "PATH=$PWD/.dkp-wrappers:$PATH" >> $GITHUB_ENV
|
|
||||||
|
cat $(which arm-none-eabi-g++)
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Set commit SHA
|
- name: Set commit SHA
|
||||||
@@ -104,6 +103,7 @@ jobs:
|
|||||||
key: ccache-${{ runner.os }}-devkitpro-ams-${{ hashFiles('ams_ver.txt') }} # last key was utter garbage, stick to ams versions
|
key: ccache-${{ runner.os }}-devkitpro-ams-${{ hashFiles('ams_ver.txt') }} # last key was utter garbage, stick to ams versions
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
ccache-${{ runner.os }}-devkitpro-
|
ccache-${{ runner.os }}-devkitpro-
|
||||||
|
save-always: true
|
||||||
|
|
||||||
- name: Configure ccache
|
- name: Configure ccache
|
||||||
run: |
|
run: |
|
||||||
@@ -185,6 +185,7 @@ jobs:
|
|||||||
cp "$PATCHES/secmon_define_emc_access_table.inc" "$ROOT/exosphere/program/source/smc/"
|
cp "$PATCHES/secmon_define_emc_access_table.inc" "$ROOT/exosphere/program/source/smc/"
|
||||||
cp "$PATCHES/secmon_smc_register_access.cpp" "$ROOT/exosphere/program/source/smc/"
|
cp "$PATCHES/secmon_smc_register_access.cpp" "$ROOT/exosphere/program/source/smc/"
|
||||||
cp "$PATCHES/secmon_define_soctherm_access_table.inc" "$ROOT/exosphere/program/source/smc/"
|
cp "$PATCHES/secmon_define_soctherm_access_table.inc" "$ROOT/exosphere/program/source/smc/"
|
||||||
|
cp "$PATCHES/secmon_soctherm_access_table_data.inc" "$ROOT/exosphere/program/source/smc/"
|
||||||
|
|
||||||
# build without ams for now
|
# build without ams for now
|
||||||
make -j$(($(nproc) * 4))
|
make -j$(($(nproc) * 4))
|
||||||
|
|||||||
Reference in New Issue
Block a user