diff --git a/.github/build-info.json b/.github/build-info.json index 4f94e05..c16fdb5 100644 --- a/.github/build-info.json +++ b/.github/build-info.json @@ -2,7 +2,7 @@ "gluon": { "repository": "freifunk-gluon/gluon", "branch": "main", - "commit": "7cc3ebddd7ea32ae14167389535cbc7d1df95d8e" + "commit": "cf9f0f92d8f74f5564732787e1786cf8c9908d0f" }, "container": { "version": "main" diff --git a/.github/free-runner-space.sh b/.github/free-runner-space.sh new file mode 100644 index 0000000..8e97d96 --- /dev/null +++ b/.github/free-runner-space.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +# For a List of pre-installed packages on the runner image see +# https://github.com/actions/runner-images/tree/main?tab=readme-ov-file#available-images + +echo "Disk space before cleanup" +df -h + +# Remove packages not required to run the Gluon build CI +sudo apt-get -y remove \ + dotnet-* \ + firefox \ + google-chrome-stable \ + kubectl \ + microsoft-edge-stable \ + temurin-*-jdk + +# Remove Android SDK tools +sudo rm -rf /usr/local/lib/android + +echo "Disk space after cleanup" +df -h diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 78cdb1f..e1c564a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -238,6 +238,9 @@ jobs: - name: Print meminfo run: cat /proc/meminfo + - name: Remove non-required software + run: bash .github/free-runner-space.sh + - name: Download prepared OpenWrt uses: actions/download-artifact@v4 with: