mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
ci: split build and test stages
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
96c8b05677
commit
04c5bcac1d
1 changed files with 14 additions and 3 deletions
|
@ -1,16 +1,27 @@
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
- test
|
||||||
|
|
||||||
rust-latest:
|
rust-latest-build:
|
||||||
stage: build
|
stage: build
|
||||||
image: rust:latest
|
image: rust:latest
|
||||||
script:
|
script:
|
||||||
- cargo build --verbose
|
- cargo build --verbose
|
||||||
- cargo test --verbose
|
|
||||||
|
|
||||||
rust-nightly:
|
rust-nightly-build:
|
||||||
stage: build
|
stage: build
|
||||||
image: rustlang/rust:nightly
|
image: rustlang/rust:nightly
|
||||||
script:
|
script:
|
||||||
- cargo build --verbose
|
- cargo build --verbose
|
||||||
|
|
||||||
|
rust-latest-test:
|
||||||
|
stage: test
|
||||||
|
image: rust:latest
|
||||||
|
script:
|
||||||
|
- cargo test --verbose
|
||||||
|
|
||||||
|
rust-nightly-test:
|
||||||
|
stage: test
|
||||||
|
image: rustlang/rust:nightly
|
||||||
|
script:
|
||||||
- cargo test --verbose
|
- cargo test --verbose
|
||||||
|
|
Loading…
Reference in a new issue