From ff823f4aaeedad193489d33ffd7bde47770fc2af Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Thu, 8 Sep 2022 11:13:54 +0200 Subject: [PATCH] avoid building main binaries twice (#4092) we can just build everything with trace logging --- .github/workflows/ci.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d32d7d202..9e3c88439 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -209,22 +209,13 @@ jobs: run: | scripts/setup_scenarios.sh fixturesCache - - name: Smoke test the Beacon Node and Validator Client with all tracing enabled + - 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 nimbus_beacon_node nimbus_validator_client || false + ${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 nimbus_beacon_node nimbus_validator_client - fi - - - name: Build all tools - 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 }} || false - else - ${make_cmd} -j ${ncpu} V=1 NIM_COMMIT=${{ matrix.branch }} + ${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