diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ebe7bade..1b860bb5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -269,6 +269,13 @@ cargo-audit: RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" WASM_BUILD_NO_COLOR: "1" CARGO_INCREMENTAL: "0" + # Skip WASM runtime builds — unit/integration tests use mock environments + # and don't need actual WASM blobs. This significantly reduces compile time. + SKIP_WASM_BUILD: "1" + # When CARGO_TARGET_DIR is outside the project dir, wasm-builder's build + # script can't find Cargo.lock and resolves deps fresh (without --locked), + # picking up versions that require newer Rust. Point it to the workspace root. + WASM_BUILD_WORKSPACE_HINT: "$CI_PROJECT_DIR" before_script: - rustup show - rustc --version && cargo --version @@ -279,7 +286,7 @@ cargo-audit: - find /cache/cargo-target -mindepth 1 -maxdepth 1 -type d ! -name "${CACHE_KEY}" -exec rm -rf {} + 2>/dev/null || true - echo "CARGO_TARGET_DIR=$CARGO_TARGET_DIR (disk $(df -h /cache/cargo-target | tail -1 | awk '{print $3 "/" $2 " used, " $4 " free"}'))" cache: [] - timeout: 90m + timeout: 150m rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_PIPELINE_SOURCE == "schedule" diff --git a/Cargo.lock b/Cargo.lock index a743ee0b..bd6ba268 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1089,7 +1089,7 @@ dependencies = [ [[package]] name = "arrayvec" version = "0.7.6" -source = "git+https://git.pezkuwichain.io/pezkuwichain/arrayvec.git?branch=main#c5461f2a879a7c5a8a5a3319cb6dcb02abcfe2f9" +source = "git+https://git.pezkuwichain.io/pezkuwichain/arrayvec.git?branch=main#0c417574a308d86ef79823dccb215b2273ec800a" dependencies = [ "serde", ]