Merge pull request #22 from epage/ci

Fix CI bugs
This commit is contained in:
Ed Page 2021-11-23 16:40:24 -06:00 committed by GitHub
commit 020d55e832
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
# - Easy to debug: show the command being run
# - Leverage CI features: Only run individual steps so we can use features like reporting elapsed time per step
ARGS?=
ARGS?=--workspace
TOOLCHAIN_TARGET ?=
ifneq (${TOOLCHAIN_TARGET},)
ARGS+=--target ${TOOLCHAIN_TARGET}
@ -22,7 +22,7 @@ check-%:
cargo check ${_FEATURES_${@:check-%=%}} --all-targets ${ARGS}
build-%:
cargo test ${_FEATURES_${@:build-%=%}} --no-run ${ARGS}
cargo test ${_FEATURES_${@:build-%=%}} --all-targets --no-run ${ARGS}
test-%:
cargo test ${_FEATURES_${@:test-%=%}} ${ARGS}
cargo test ${_FEATURES_${@:test-%=%}} --all-targets ${ARGS}