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).
This commit is contained in:
2026-02-23 04:03:22 +03:00
parent 7a4baa3ac8
commit da995d41ff
+3 -1
View File
@@ -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