fix: serialize CI jobs to prevent concurrent disk exhaustion
Run check-try-runtime after cargo-clippy (not in parallel) and build-rustdoc after test-doc. Jobs on the same VPS share a single disk, so parallel builds exhaust available space. Both Checks jobs share one cache volume; both Docs jobs share another.
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: ${{ needs.preflight.outputs.IMAGE }}
|
image: ${{ needs.preflight.outputs.IMAGE }}
|
||||||
volumes:
|
volumes:
|
||||||
- /cache/cargo-target/pezkuwi-sdk-clippy:/cache/target
|
- /cache/cargo-target/pezkuwi-sdk:/cache/target
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS: "-D warnings"
|
RUSTFLAGS: "-D warnings"
|
||||||
SKIP_WASM_BUILD: 1
|
SKIP_WASM_BUILD: 1
|
||||||
@@ -55,13 +55,13 @@ jobs:
|
|||||||
|
|
||||||
check-try-runtime:
|
check-try-runtime:
|
||||||
runs-on: ${{ needs.preflight.outputs.RUNNER }}
|
runs-on: ${{ needs.preflight.outputs.RUNNER }}
|
||||||
needs: [preflight]
|
needs: [preflight, cargo-clippy]
|
||||||
if: ${{ needs.preflight.outputs.changes_rust }}
|
if: ${{ always() && !cancelled() && needs.preflight.outputs.changes_rust }}
|
||||||
timeout-minutes: 45
|
timeout-minutes: 45
|
||||||
container:
|
container:
|
||||||
image: ${{ needs.preflight.outputs.IMAGE }}
|
image: ${{ needs.preflight.outputs.IMAGE }}
|
||||||
volumes:
|
volumes:
|
||||||
- /cache/cargo-target/pezkuwi-sdk-try-runtime:/cache/target
|
- /cache/cargo-target/pezkuwi-sdk:/cache/target
|
||||||
env:
|
env:
|
||||||
SKIP_WASM_BUILD: 1
|
SKIP_WASM_BUILD: 1
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: ${{ needs.preflight.outputs.IMAGE }}
|
image: ${{ needs.preflight.outputs.IMAGE }}
|
||||||
volumes:
|
volumes:
|
||||||
- /cache/cargo-target/pezkuwi-sdk-test-doc:/cache/target
|
- /cache/cargo-target/pezkuwi-sdk-docs:/cache/target
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
|
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
|
||||||
SKIP_WASM_BUILD: 1
|
SKIP_WASM_BUILD: 1
|
||||||
@@ -47,12 +47,12 @@ jobs:
|
|||||||
build-rustdoc:
|
build-rustdoc:
|
||||||
runs-on: ${{ needs.preflight.outputs.RUNNER }}
|
runs-on: ${{ needs.preflight.outputs.RUNNER }}
|
||||||
timeout-minutes: 45
|
timeout-minutes: 45
|
||||||
if: ${{ needs.preflight.outputs.changes_rust }}
|
if: ${{ always() && !cancelled() && needs.preflight.outputs.changes_rust }}
|
||||||
needs: [preflight]
|
needs: [preflight, test-doc]
|
||||||
container:
|
container:
|
||||||
image: ${{ needs.preflight.outputs.IMAGE }}
|
image: ${{ needs.preflight.outputs.IMAGE }}
|
||||||
volumes:
|
volumes:
|
||||||
- /cache/cargo-target/pezkuwi-sdk-rustdoc:/cache/target
|
- /cache/cargo-target/pezkuwi-sdk-docs:/cache/target
|
||||||
env:
|
env:
|
||||||
SKIP_WASM_BUILD: 1
|
SKIP_WASM_BUILD: 1
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user