mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
.gitlab-ci.yml: add a compat-rust-latest stage
This commit is contained in:
parent
95f4ade4ba
commit
047649dbc8
1 changed files with 17 additions and 4 deletions
|
@ -1,16 +1,29 @@
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
|
variables:
|
||||||
|
FEATURES: ""
|
||||||
|
|
||||||
rust-latest:
|
rust-latest:
|
||||||
stage: build
|
stage: build
|
||||||
image: rust:latest
|
image: rust:latest
|
||||||
script:
|
script:
|
||||||
- cargo build --verbose
|
- cargo build --verbose --no-default-features --features=$FEATURES
|
||||||
- cargo test --verbose
|
- cargo test --verbose --no-default-features --features=$FEATURES
|
||||||
|
|
||||||
rust-nightly:
|
rust-nightly:
|
||||||
stage: build
|
stage: build
|
||||||
image: rustlang/rust:nightly
|
image: rustlang/rust:nightly
|
||||||
script:
|
script:
|
||||||
- cargo build --verbose
|
- cargo build --verbose --no-default-features --features=$FEATURES
|
||||||
- cargo test --verbose
|
- cargo test --verbose --no-default-features --features=$FEATURES
|
||||||
|
|
||||||
|
"rust-latest with features=compat":
|
||||||
|
extends: rust-latest
|
||||||
|
variables:
|
||||||
|
FEATURES: "compat"
|
||||||
|
|
||||||
|
"rust-nightly with features=compat":
|
||||||
|
extends: rust-nightly
|
||||||
|
variables:
|
||||||
|
FEATURES: "compat"
|
||||||
|
|
Loading…
Reference in a new issue