1111name : Nimbus CI
1212on :
1313 push :
14+ branches :
15+ - master
1416 paths-ignore :
1517 - ' doc/**'
1618 - ' portal/docs/**'
3436
3537 workflow_dispatch :
3638
39+ concurrency : # Cancel stale PR builds (but not push builds)
40+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
41+ cancel-in-progress : true
42+
3743jobs :
3844 matrix_config :
3945 uses : ./.github/workflows/matrix_config.yml
6874 run : |
6975 gcc --version
7076 DEFAULT_MAKE_FLAGS="-j${ncpu} ENABLE_VMLOWMEM=${ENABLE_VMLOWMEM} ROCKSDB_CI_CACHE=RocksBinCache"
71- mingw32-make ${DEFAULT_MAKE_FLAGS} all test_import build_fuzzers
72- build/nimbus_execution_client.exe --help
73- # give us more space
74- # find . -type d -name ".git" -exec rm -rf {} +
77+ mingw32-make ${DEFAULT_MAKE_FLAGS} all test_import build_fuzzers check_revision
7578 find . -type d -name "nimcache" -exec rm -rf {} +
7679 mingw32-make ${DEFAULT_MAKE_FLAGS} test t8n_test eest_full_test
7780
@@ -80,29 +83,18 @@ jobs:
8083 run : |
8184 export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib"
8285 DEFAULT_MAKE_FLAGS="-j${ncpu} ROCKSDB_CI_CACHE=RocksBinCache"
83- env CC=gcc make ${DEFAULT_MAKE_FLAGS} all test_import build_fuzzers
86+ env CC=gcc make ${DEFAULT_MAKE_FLAGS} all test_import build_fuzzers check_revision
8487 build/nimbus_execution_client --help
8588 # CC, GOARCH, and CGO_ENABLED are needed to select correct compiler 32/64 bit
86- # pushd vendor/nimbus-eth2
87- # env NIMBUSEL_BINARY=../../build/nimbus_execution_client NIMBUSEL_GENESIS=scripts/nimbusel_genesis.json \
88- # ./scripts/launch_local_testnet.sh --nodes=3 --stop-at-epoch=7 \
89- # --disable-htop --reuse-binaries --run-nimbus-el --dl-eth2 --verbose --kill-old-processes
90- # popd
9189 env CC=gcc GOARCH=${GOARCH} CXX=g++ CGO_ENABLED=1 make ${DEFAULT_MAKE_FLAGS} test t8n_test eest_full_test
9290
9391 - name : Run nimbus-eth1 tests (Macos)
9492 if : runner.os == 'Macos'
9593 run : |
9694 export ZERO_AR_DATE=1 # avoid timestamps in binaries
9795 DEFAULT_MAKE_FLAGS="-j${ncpu} ROCKSDB_CI_CACHE=RocksBinCache"
98- make ${DEFAULT_MAKE_FLAGS} all test_import build_fuzzers
99- build/nimbus_execution_client --help
96+ make ${DEFAULT_MAKE_FLAGS} all test_import build_fuzzers check_revision
10097 # "-static" option will not work for osx unless static system libraries are provided
101- # pushd vendor/nimbus-eth2
102- # env NIMBUSEL_BINARY=../../build/nimbus_execution_client NIMBUSEL_GENESIS=scripts/nimbusel_genesis.json \
103- # ./scripts/launch_local_testnet.sh --nodes=3 --stop-at-epoch=7 \
104- # --disable-htop --reuse-binaries --run-nimbus-el --dl-eth2 --verbose --kill-old-processes
105- # popd
10698 make ${DEFAULT_MAKE_FLAGS} test t8n_test eest_full_test
10799
108100 lint :
0 commit comments