diff --git a/.github/workflows/build-publish-images.yml b/.github/workflows/build-publish-images.yml index 7d883547..4ef4a354 100644 --- a/.github/workflows/build-publish-images.yml +++ b/.github/workflows/build-publish-images.yml @@ -46,6 +46,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + - name: Configure git safe.directory + run: git config --global --add safe.directory '*' - name: Add wasm32v1-none target run: rustup target add wasm32v1-none - name: build @@ -252,6 +254,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + - name: Configure git safe.directory + run: git config --global --add safe.directory '*' - name: Add wasm32v1-none target run: rustup target add wasm32v1-none - name: build diff --git a/.github/workflows/tests-linux-stable.yml b/.github/workflows/tests-linux-stable.yml index 7e4ffc94..438c766e 100644 --- a/.github/workflows/tests-linux-stable.yml +++ b/.github/workflows/tests-linux-stable.yml @@ -33,6 +33,9 @@ jobs: WASM_BUILD_RUSTFLAGS: "-C debug-assertions -D warnings" # Ensure we run the UI tests. RUN_UI_TESTS: 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: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 @@ -55,11 +58,12 @@ jobs: # Enable debug assertions since we are running optimized builds for testing # but still want to have debug assertions. 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: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - - name: Add wasm32v1-none target - run: rustup target add wasm32v1-none || true - name: script id: required run: cargo nextest run --workspace --features runtime-benchmarks benchmark --locked --cargo-profile testnet --cargo-quiet @@ -81,6 +85,9 @@ jobs: RUST_TOOLCHAIN: stable RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" CARGO_INCREMENTAL: 0 + # 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: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 @@ -130,6 +137,9 @@ jobs: # Enable debug assertions since we are running optimized builds for testing # but still want to have debug assertions. 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: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0