mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: re-enable no_std CI checks (#9716)
This commit is contained in:
20
.github/assets/check_no_std.sh
vendored
20
.github/assets/check_no_std.sh
vendored
@ -3,21 +3,23 @@ set -eo pipefail
|
||||
|
||||
# TODO
|
||||
no_std_packages=(
|
||||
# reth-codecs
|
||||
# reth-consensus
|
||||
# The following were confirmed not working in the past, but could be enabled if issues have been resolved
|
||||
# reth-db
|
||||
# reth-errors
|
||||
# reth-ethereum-forks
|
||||
# reth-primitives
|
||||
# reth-revm
|
||||
# reth-evm
|
||||
# reth-evm-ethereum
|
||||
# reth-network-peers
|
||||
# reth-primitives
|
||||
# reth-primitives-traits
|
||||
# reth-revm
|
||||
# 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 riscv32imac-unknown-none-elf --no-default-features"
|
||||
cmd="cargo +stable build -p $package --target wasm32-wasip1 --no-default-features"
|
||||
|
||||
if [ -n "$CI" ]; then
|
||||
echo "::group::$cmd"
|
||||
|
||||
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -52,7 +52,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
target: riscv32imac-unknown-none-elf
|
||||
target: wasm32-wasip1
|
||||
- uses: taiki-e/install-action@cargo-hack
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
@ -168,7 +168,7 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- name: Ensure no arbitrary or proptest dependency on default build
|
||||
run: cargo tree --package reth -e=features,no-dev | grep -Eq "arbitrary|proptest" && exit 1 || exit 0
|
||||
|
||||
|
||||
lint-success:
|
||||
name: lint success
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user