Do a cargo check instead of duplicating the build

This commit is contained in:
Jordan Doyle 2020-04-12 16:14:43 +01:00 committed by jordan@doyle.la
parent 21b04b88ae
commit 06b90b8271
No known key found for this signature in database
GPG Key ID: 1EA6BAE6F66DC49A
1 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,7 @@ set -ex
# TODO This is the "test phase", tweak it as you see fit
main() {
cross build --target $TARGET
cross check
cross build --target $TARGET --release
if [ ! -z $DISABLE_TESTS ]; then
@ -12,7 +12,6 @@ main() {
fi
cross test --target $TARGET
cross test --target $TARGET --release
}
# we don't run the "test phase" when doing deploys