Run non dependent jobs concurrently across stages in GitLab CI
This commit is contained in:
parent
01e9524e7d
commit
65306a30e8
1 changed files with 3 additions and 6 deletions
|
@ -72,8 +72,7 @@ check-old:
|
|||
# Build using Rust stable
|
||||
build-x86_64-linux-gnu:
|
||||
stage: build
|
||||
needs:
|
||||
- check-stable
|
||||
needs: []
|
||||
script:
|
||||
- cargo build --target=$RUST_TARGET --release --verbose
|
||||
- mv target/$RUST_TARGET/release/ffsend ./ffsend-$RUST_TARGET
|
||||
|
@ -87,8 +86,7 @@ build-x86_64-linux-gnu:
|
|||
# Build a static version
|
||||
build-x86_64-linux-musl:
|
||||
stage: build
|
||||
needs:
|
||||
- check-stable
|
||||
needs: []
|
||||
variables:
|
||||
RUST_TARGET: x86_64-unknown-linux-musl
|
||||
script:
|
||||
|
@ -124,8 +122,7 @@ build-x86_64-linux-musl:
|
|||
# Run the unit tests through Cargo
|
||||
test-cargo:
|
||||
stage: test
|
||||
needs:
|
||||
- check-stable
|
||||
needs: []
|
||||
dependencies: []
|
||||
script:
|
||||
- cargo test --verbose
|
||||
|
|
Loading…
Add table
Reference in a new issue