attempt to reduce GitHub Actions runner disk usage (#4511)

This commit is contained in:
tersec 2023-01-15 08:43:50 +00:00 committed by GitHub
parent 6ccf13e762
commit 7ad0d3e6c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 11 deletions

View File

@ -146,6 +146,17 @@ jobs:
fixturesHash=$(getHash status-im/nim-eth2-scenarios)
echo "::set-output name=fixtures::${fixturesHash}"
- name: Build binaries (with trace logging enabled)
run: |
if [[ "${{ matrix.branch }}" == "version-1-6" ]]; then
# change to "|| true" to hide the CI failures in GitHub's UI (escape hatch if a blocker is detected in 1.6)
${make_cmd} -j ${ncpu} V=1 NIM_COMMIT=${{ matrix.branch }} LOG_LEVEL=TRACE || false
else
${make_cmd} -j ${ncpu} V=1 NIM_COMMIT=${{ matrix.branch }} LOG_LEVEL=TRACE
fi
# The Windows image runs out of disk space, so make some room
rm -rf build nimcache
- name: Restore Ethereum Foundation fixtures from cache
id: fixtures-cache
uses: actions/cache@v2
@ -159,17 +170,6 @@ jobs:
run: |
scripts/setup_scenarios.sh fixturesCache
- name: Build binaries (with trace logging enabled)
run: |
if [[ "${{ matrix.branch }}" == "version-1-6" ]]; then
# change to "|| true" to hide the CI failures in GitHub's UI (escape hatch if a blocker is detected in 1.6)
${make_cmd} -j ${ncpu} V=1 NIM_COMMIT=${{ matrix.branch }} LOG_LEVEL=TRACE || false
else
${make_cmd} -j ${ncpu} V=1 NIM_COMMIT=${{ matrix.branch }} LOG_LEVEL=TRACE
fi
# The Windows image runs out of disk space, so make some room
rm -rf nimcache
- name: Run tests
run: |
if [[ "${{ matrix.branch }}" == "version-1-6" ]]; then