From 6a5c3b786aa5ac4332c35c080e56766db041a795 Mon Sep 17 00:00:00 2001 From: tetetete-ctrl <227913315+tetetete-ctrl@users.noreply.github.com> Date: Sun, 31 May 2026 15:17:47 -0400 Subject: [PATCH 1/2] Update build.yml for container image and cloning options --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 237bd330..5f9fecd4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: # Minimal devkitA64 container container: - image: devkitpro/devkita64:20251231 + image: devkitpro/devkita64:20260219 steps: - name: Checkout repository and submodules # needed for hoc-clk @@ -55,7 +55,7 @@ jobs: echo $GITHUB_SHA >> dist/.commit - name: Clone Libnx - run: git clone https://github.com/switchbrew/libnx.git + run: git clone https://github.com/switchbrew/libnx.git --depth=1 --single-branch - name: Clone Atmosphere run: git clone --depth=1 --single-branch https://github.com/Atmosphere-NX/Atmosphere.git atmosphere -b $(cat ams_ver.txt) @@ -70,7 +70,7 @@ jobs: cp -rf Source/Atmosphere/stratosphere/loader/source/* build/stratosphere/loader/source/ - name: Cache ccache - uses: actions/cache@v5.0.3 + uses: actions/cache@v5.0.5 with: path: /root/.cache/ccache key: ccache-${{ runner.os }}-devkitpro-ams-${{ hashFiles('ams_ver.txt') }} # last key was utter garbage, stick to ams versions, From f763fb70a88400cca4f36d097374d46657b8d352 Mon Sep 17 00:00:00 2001 From: tetetete-ctrl <227913315+tetetete-ctrl@users.noreply.github.com> Date: Sun, 31 May 2026 15:43:41 -0400 Subject: [PATCH 2/2] Attempt to fix ccache --- .github/workflows/build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5f9fecd4..c6fb9ddf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,7 @@ jobs: echo $GITHUB_SHA >> dist/.commit - name: Clone Libnx - run: git clone https://github.com/switchbrew/libnx.git --depth=1 --single-branch + run: git clone https://github.com/switchbrew/libnx.git --depth=1 --single-branch -b v4.12.0 - name: Clone Atmosphere run: git clone --depth=1 --single-branch https://github.com/Atmosphere-NX/Atmosphere.git atmosphere -b $(cat ams_ver.txt) @@ -79,11 +79,13 @@ jobs: - name: Configure ccache run: | - export CCACHE_DIR=/root/.cache/ccache - echo "CCACHE_DIR=/root/.cache/ccache" >> $GITHUB_ENV + export CCACHE_DIR="$HOME/.cache/ccache" + export CCACHE_BASEDIR="$GITHUB_WORKSPACE" + export CCACHE_COMPILERCHECK=content + export CCACHE_NOHASHDIR=true + echo "CCACHE_DIR=$HOME/.cache/ccache" >> $GITHUB_ENV ccache --set-config=max_size=10G ccache --set-config=compiler_check=content - ccache --zero-stats - name: Build Libnx shell: bash