Skip to content

Commit

Permalink
Merge branch 'develop' into dkijania/port_testnet_and_version_lint_dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dkijania authored Sep 10, 2024
2 parents 80e6122 + 21f0cca commit 6d9954a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions buildkite/scripts/unit-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ export LIBP2P_NIXLESS=1 PATH=/usr/lib/go/bin:$PATH GO=/usr/lib/go/bin/go
time make build

echo "--- Build all targets"
dune build "${path}" --profile="${profile}" -j16
dune build "${path}" --profile="${profile}" -j8

echo "--- Check for changes to verification keys"
time dune runtest "src/app/print_blockchain_snark_vk" --profile="${profile}" -j16
time dune runtest "src/app/print_blockchain_snark_vk" --profile="${profile}" -j8

# Turn on the proof-cache assertion, so that CI will fail if the proofs need to
# be updated.
Expand All @@ -35,8 +35,8 @@ export ERROR_ON_PROOF=true
# skip running all of the tests that have already succeeded, since dune will
# only retry those tests that failed.
echo "--- Run unit tests"
time dune runtest "${path}" --profile="${profile}" -j16 || \
time dune runtest "${path}" --profile="${profile}" -j8 || \
(./scripts/link-coredumps.sh && \
echo "--- Retrying failed unit tests" && \
time dune runtest "${path}" --profile="${profile}" -j16 || \
time dune runtest "${path}" --profile="${profile}" -j8 || \
(./scripts/link-coredumps.sh && false))

0 comments on commit 6d9954a

Please sign in to comment.