From da995d41ff1119fbffa20d252ef3c858b41d8a4f Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Mon, 23 Feb 2026 04:03:22 +0300 Subject: [PATCH] ci: use wasm32v1-none instead of SKIP_WASM_BUILD for doc tests Doc tests in pezsc-basic-authorship require a real WASM runtime binary. SKIP_WASM_BUILD=1 produces a dummy blob causing runtime panics. Use wasm32v1-none target for test-doc (needs real WASM), keep SKIP_WASM_BUILD=1 only for build-rustdoc (docs generation only). --- .github/workflows/docs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 535d6ff3..d0729eae 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,13 +28,15 @@ jobs: volumes: - /cache/cargo-target/pezkuwi-sdk-docs:/cache/target env: - SKIP_WASM_BUILD: 1 RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" CARGO_INCREMENTAL: 0 CARGO_TARGET_DIR: /cache/target steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + - name: Install wasm32v1-none target + run: rustup target add wasm32v1-none + # Clean stale caches from other workflows that ran on this VPS runner. # Each VPS has limited disk; leftover caches from tests/checks can fill it. - name: Clean stale caches