Free disk in compose CI job and set target dir

This commit is contained in:
andrussal 2025-12-06 11:18:51 +01:00
parent 0c25b00c8b
commit 4d7033e448

View File

@ -282,6 +282,7 @@ jobs:
NOMOS_CIRCUITS: ${{ github.workspace }}/.tmp/nomos-circuits
NOMOS_TESTNET_IMAGE: nomos-testnet:local
DOCKER_BUILDKIT: 1
CARGO_TARGET_DIR: ${{ runner.temp }}/target-compose
steps:
- name: Checkout repository
uses: actions/checkout@v4
@ -355,6 +356,12 @@ jobs:
apt-get install -y clang llvm-dev libclang-dev pkg-config cmake libssl-dev rsync libgmp10 libgmp-dev libgomp1 nasm
fi
- name: Free disk space for compose build
run: |
set -euo pipefail
sudo rm -rf /usr/share/dotnet /opt/ghc /opt/hostedtoolcache/CodeQL || true
docker system prune -af --volumes || true
- name: Cache cargo registry
uses: actions/cache@v4
with: