fix: add SKIP_WASM_BUILD to all workflows affected by serde_core issue
Workflows updated: - tests-evm.yml: differential-tests and evm-test-suite jobs - tests-linux-stable-coverage.yml: test-linux-stable-coverage job - tests-linux-stable-xp.yml: both test jobs (currently disabled but ready) - tests-misc.yml: test-full-crypto-feature job All changes include tracking comment for issue #358. The serde_core + Rust 1.88 + wasm32 combination causes duplicate lang item error. These jobs don't require WASM output, so skip it.
This commit is contained in:
@@ -26,6 +26,10 @@ jobs:
|
|||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
container:
|
container:
|
||||||
image: ${{ needs.preflight.outputs.IMAGE }}
|
image: ${{ needs.preflight.outputs.IMAGE }}
|
||||||
|
env:
|
||||||
|
# Temporary: Skip WASM build due to serde_core + Rust 1.88 + WASM bug
|
||||||
|
# Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358
|
||||||
|
SKIP_WASM_BUILD: 1
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
strategy:
|
strategy:
|
||||||
@@ -111,6 +115,9 @@ jobs:
|
|||||||
# but still want to have debug assertions.
|
# but still want to have debug assertions.
|
||||||
RUSTFLAGS: "-C debug-assertions"
|
RUSTFLAGS: "-C debug-assertions"
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
|
# Temporary: Skip WASM build due to serde_core + Rust 1.88 + WASM bug
|
||||||
|
# Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358
|
||||||
|
SKIP_WASM_BUILD: 1
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
platform:
|
platform:
|
||||||
|
|||||||
@@ -34,6 +34,9 @@ jobs:
|
|||||||
# -Cinstrument-coverage slows everything down but it is necessary for code coverage
|
# -Cinstrument-coverage slows everything down but it is necessary for code coverage
|
||||||
# https://doc.rust-lang.org/rustc/instrument-coverage.html
|
# https://doc.rust-lang.org/rustc/instrument-coverage.html
|
||||||
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings -Cinstrument-coverage"
|
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings -Cinstrument-coverage"
|
||||||
|
# Temporary: Skip WASM build due to serde_core + Rust 1.88 + WASM bug
|
||||||
|
# Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358
|
||||||
|
SKIP_WASM_BUILD: 1
|
||||||
LLVM_PROFILE_FILE: "/__w/pezkuwi-sdk/pezkuwi-sdk/target/coverage/cargo-test-${{ matrix.ci_node_index }}-%p-%m.profraw"
|
LLVM_PROFILE_FILE: "/__w/pezkuwi-sdk/pezkuwi-sdk/target/coverage/cargo-test-${{ matrix.ci_node_index }}-%p-%m.profraw"
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|||||||
@@ -39,6 +39,9 @@ jobs:
|
|||||||
# Enable debug assertions since we are running optimized builds for testing
|
# Enable debug assertions since we are running optimized builds for testing
|
||||||
# but still want to have debug assertions.
|
# but still want to have debug assertions.
|
||||||
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
|
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
|
||||||
|
# Temporary: Skip WASM build due to serde_core + Rust 1.88 + WASM bug
|
||||||
|
# Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358
|
||||||
|
SKIP_WASM_BUILD: 1
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||||
@@ -70,6 +73,9 @@ jobs:
|
|||||||
# Enable debug assertions since we are running optimized builds for testing
|
# Enable debug assertions since we are running optimized builds for testing
|
||||||
# but still want to have debug assertions.
|
# but still want to have debug assertions.
|
||||||
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
|
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
|
||||||
|
# Temporary: Skip WASM build due to serde_core + Rust 1.88 + WASM bug
|
||||||
|
# Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358
|
||||||
|
SKIP_WASM_BUILD: 1
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||||
|
|||||||
@@ -34,6 +34,9 @@ jobs:
|
|||||||
# but still want to have debug assertions.
|
# but still want to have debug assertions.
|
||||||
RUSTFLAGS: "-C debug-assertions"
|
RUSTFLAGS: "-C debug-assertions"
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
|
# Temporary: Skip WASM build due to serde_core + Rust 1.88 + WASM bug
|
||||||
|
# Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358
|
||||||
|
SKIP_WASM_BUILD: 1
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||||
|
|||||||
Reference in New Issue
Block a user