fix(ci): resolve serde_core duplicate alloc in clippy and quick-benchmarks
- Exclude pezkuwi-zombienet-sdk-tests from clippy (nested cargo build in build.rs overrides SKIP_WASM_BUILD with empty string, triggering wasm32-unknown-unknown + build-std which conflicts with serde_core) - Use WASM_BUILD_STD=0 for quick-benchmarks to avoid build-std (uses pre-built wasm32-unknown-unknown sysroot instead) - Update CLAUDE.md with correct CI runner VPS info
This commit is contained in:
@@ -50,7 +50,8 @@ jobs:
|
||||
run: |
|
||||
git config --global --add safe.directory '*'
|
||||
cargo clippy --all-targets --all-features --locked --workspace --quiet \
|
||||
--exclude pezpallet-revive-eth-rpc
|
||||
--exclude pezpallet-revive-eth-rpc \
|
||||
--exclude pezkuwi-zombienet-sdk-tests
|
||||
|
||||
check-try-runtime:
|
||||
runs-on: ${{ needs.preflight.outputs.RUNNER }}
|
||||
|
||||
@@ -36,9 +36,6 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
|
||||
- name: Install wasm32v1-none target
|
||||
run: rustup target add wasm32v1-none
|
||||
|
||||
- name: Rust Cache
|
||||
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
|
||||
with:
|
||||
@@ -46,6 +43,8 @@ jobs:
|
||||
cache-on-failure: true
|
||||
|
||||
- name: script
|
||||
env:
|
||||
WASM_BUILD_STD: "0"
|
||||
run: cargo run --locked --release -p pezstaging-node-cli --bin bizinikiwi-node --features runtime-benchmarks --quiet -- benchmark pezpallet --chain dev --pezpallet "*" --extrinsic "*" --steps 2 --repeat 1 --quiet
|
||||
|
||||
# cf https://github.com/pezkuwichain/pezkuwi-sdk/issues/1652
|
||||
|
||||
Reference in New Issue
Block a user