Do a cargo check instead of duplicating the build
This commit is contained in:
parent
21b04b88ae
commit
06b90b8271
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,7 @@ set -ex
|
||||||
|
|
||||||
# TODO This is the "test phase", tweak it as you see fit
|
# TODO This is the "test phase", tweak it as you see fit
|
||||||
main() {
|
main() {
|
||||||
cross build --target $TARGET
|
cross check
|
||||||
cross build --target $TARGET --release
|
cross build --target $TARGET --release
|
||||||
|
|
||||||
if [ ! -z $DISABLE_TESTS ]; then
|
if [ ! -z $DISABLE_TESTS ]; then
|
||||||
|
@ -12,7 +12,6 @@ main() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cross test --target $TARGET
|
cross test --target $TARGET
|
||||||
cross test --target $TARGET --release
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# we don't run the "test phase" when doing deploys
|
# we don't run the "test phase" when doing deploys
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue