only re-run CI if necessary
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lynne Megido 2021-04-28 23:52:42 +10:00
parent 48c9475b4e
commit 32edcc0c92
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90

View File

@ -24,17 +24,26 @@ stages:
stage: build
parallel:
matrix:
- FEATURES: [ 'xdg-mime-backend', 'infer-backend', 'multi-threaded xdg-mime-backend',
'multi-threaded infer-backend' ]
- FEATURES:
- xdg-mime-backend
- infer-backend
- multi-threaded xdg-mime-backend
- multi-threaded infer-backend
only:
refs:
- branches
- tags
changes:
- "/src/**/*"
- .gitlab-ci.yml
script:
cargo build --no-default-features --locked --features="$FEATURES"
.cargo-test:
extends: .cargo-build
stage: test
parallel:
matrix:
- FEATURES: [ 'xdg-mime-backend', 'infer-backend', 'multi-threaded xdg-mime-backend',
'multi-threaded infer-backend' ]
script:
cargo test --no-default-features --locked --verbose --features="$FEATURES"