only re-run CI if necessary
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
48c9475b4e
commit
32edcc0c92
1 changed files with 15 additions and 6 deletions
|
@ -24,17 +24,26 @@ stages:
|
||||||
stage: build
|
stage: build
|
||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
- FEATURES: [ 'xdg-mime-backend', 'infer-backend', 'multi-threaded xdg-mime-backend',
|
- FEATURES:
|
||||||
'multi-threaded infer-backend' ]
|
- xdg-mime-backend
|
||||||
|
- infer-backend
|
||||||
|
- multi-threaded xdg-mime-backend
|
||||||
|
- multi-threaded infer-backend
|
||||||
|
|
||||||
|
only:
|
||||||
|
refs:
|
||||||
|
- branches
|
||||||
|
- tags
|
||||||
|
changes:
|
||||||
|
- "/src/**/*"
|
||||||
|
- .gitlab-ci.yml
|
||||||
|
|
||||||
script:
|
script:
|
||||||
cargo build --no-default-features --locked --features="$FEATURES"
|
cargo build --no-default-features --locked --features="$FEATURES"
|
||||||
|
|
||||||
.cargo-test:
|
.cargo-test:
|
||||||
|
extends: .cargo-build
|
||||||
stage: test
|
stage: test
|
||||||
parallel:
|
|
||||||
matrix:
|
|
||||||
- FEATURES: [ 'xdg-mime-backend', 'infer-backend', 'multi-threaded xdg-mime-backend',
|
|
||||||
'multi-threaded infer-backend' ]
|
|
||||||
script:
|
script:
|
||||||
cargo test --no-default-features --locked --verbose --features="$FEATURES"
|
cargo test --no-default-features --locked --verbose --features="$FEATURES"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue