mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-07 15:53:10 +00:00
Free disk in compose CI job and set target dir
This commit is contained in:
parent
0c25b00c8b
commit
4d7033e448
7
.github/workflows/lint.yml
vendored
7
.github/workflows/lint.yml
vendored
@ -282,6 +282,7 @@ jobs:
|
|||||||
NOMOS_CIRCUITS: ${{ github.workspace }}/.tmp/nomos-circuits
|
NOMOS_CIRCUITS: ${{ github.workspace }}/.tmp/nomos-circuits
|
||||||
NOMOS_TESTNET_IMAGE: nomos-testnet:local
|
NOMOS_TESTNET_IMAGE: nomos-testnet:local
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
|
CARGO_TARGET_DIR: ${{ runner.temp }}/target-compose
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
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
|
apt-get install -y clang llvm-dev libclang-dev pkg-config cmake libssl-dev rsync libgmp10 libgmp-dev libgomp1 nasm
|
||||||
fi
|
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
|
- name: Cache cargo registry
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user