2
0
mirror of https://github.com/status-im/nimbus-eth2.git synced 2025-01-14 08:36:53 +00:00
nimbus-eth2/scripts/time_module_builds.sh

5 lines
289 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -Eeo pipefail
find beacon_chain/ ncli/ research/ tests/ -type f -name '*.nim' -print0 | shuf -z | xargs -0 -I{} bash -c "rm nimcache -rf && /usr/bin/time -f%e -- ./env.sh nim c -o:/dev/null --hints:off --warnings:off -d:release {} 2>&1 | tr -d '\n' && echo '' {}"