mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-09 06:25:16 -05:00
36 lines
718 B
Bash
Executable File
36 lines
718 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
|
|
# TODO
|
|
no_std_packages=(
|
|
# The following were confirmed not working in the past, but could be enabled if issues have been resolved
|
|
# reth-db
|
|
# reth-primitives
|
|
# reth-revm
|
|
# reth-evm
|
|
# reth-evm-ethereum
|
|
# reth-consensus
|
|
# the following are confirmed working
|
|
reth-errors
|
|
reth-ethereum-forks
|
|
reth-network-peers
|
|
reth-primitives-traits
|
|
reth-codecs
|
|
)
|
|
|
|
for package in "${no_std_packages[@]}"; do
|
|
cmd="cargo +stable build -p $package --target wasm32-wasip1 --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
|