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 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"