mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-26 13:15:16 +00:00
attempt to reduce GitHub Actions runner disk usage (#4511)
This commit is contained in:
parent
6ccf13e762
commit
7ad0d3e6c2
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
@ -146,6 +146,17 @@ jobs:
|
|||||||
fixturesHash=$(getHash status-im/nim-eth2-scenarios)
|
fixturesHash=$(getHash status-im/nim-eth2-scenarios)
|
||||||
echo "::set-output name=fixtures::${fixturesHash}"
|
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
|
- name: Restore Ethereum Foundation fixtures from cache
|
||||||
id: fixtures-cache
|
id: fixtures-cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
@ -159,17 +170,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
scripts/setup_scenarios.sh fixturesCache
|
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
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ matrix.branch }}" == "version-1-6" ]]; then
|
if [[ "${{ matrix.branch }}" == "version-1-6" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user