mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
34 lines
589 B
Bash
Executable File
34 lines
589 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
|
|
# TODO
|
|
no_std_packages=(
|
|
# reth-codecs
|
|
# reth-consensus
|
|
# reth-db
|
|
# reth-errors
|
|
# reth-ethereum-forks
|
|
# reth-evm
|
|
# reth-evm-ethereum
|
|
# reth-network-peers
|
|
# reth-primitives
|
|
# reth-primitives-traits
|
|
# reth-revm
|
|
)
|
|
|
|
for package in "${no_std_packages[@]}"; do
|
|
cmd="cargo +stable build -p $package --target riscv32imac-unknown-none-elf --no-default-features"
|
|
|
|
if [ -n "$CI" ]; then
|
|
echo "::group::$cmd"
|
|
else
|
|
printf "\n%s:\n %s\n" "$package" "$cmd"
|
|
fi
|
|
|
|
$cmd
|
|
|
|
if [ -n "$CI" ]; then
|
|
echo "::endgroup::"
|
|
fi
|
|
done
|