fix: CI failures - tests-linux-stable and build-publish-images

tests-linux-stable.yml:
- Add SKIP_WASM_BUILD=1 to test-linux-stable-int, test-linux-stable-runtime-benchmarks,
  test-linux-stable, and test-linux-stable-no-try-runtime jobs
- Remove wasm32v1-none target from test-linux-stable-runtime-benchmarks
  (not needed with SKIP_WASM_BUILD)
- Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358

build-publish-images.yml:
- Add git safe.directory configuration to build-linux-stable and
  build-linux-bizinikiwi jobs
- Fixes "fatal: detected dubious ownership in repository" error that occurs
  when build-only-wasm.sh script runs git rev-parse
This commit is contained in:
2026-01-27 22:13:40 +03:00
parent ea970f7488
commit 83192b638a
2 changed files with 16 additions and 2 deletions
@@ -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
+12 -2
View File
@@ -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