From f55a0ed4e5162cc707984f1fe0eb01b303092df9 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Mon, 23 Feb 2026 18:22:53 +0300 Subject: [PATCH] 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 --- .github/workflows/checks.yml | 3 ++- .github/workflows/tests.yml | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index bfcdf628..c00fdb91 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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 }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5af2f20c..5008cc45 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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