use needs to specify CI dependency graph for more efficiency

This commit is contained in:
Lynne Megido 2021-04-28 20:34:46 +10:00
parent 534101db8b
commit 84ce0fc0ce
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90

View file

@ -62,18 +62,22 @@ build-nightly:
test-stable: test-stable:
extends: .cargo-test extends: .cargo-test
needs: ["build-stable"]
test-msrv: test-msrv:
extends: test-stable extends: test-stable
image: "rust:1.43.0" image: "rust:1.43.0"
needs: ["build-msrv"]
test-nightly: test-nightly:
extends: test-stable extends: test-stable
image: "rustlang/rust:nightly" image: "rustlang/rust:nightly"
needs: ["build-nightly"]
# VERSION # VERSION
fif-version: fif-version:
stage: version stage: version
needs: ["build-stable"]
script: script:
cargo run -- -V cargo run -- -V