forked from MIrrors/bin
Do a cargo check instead of duplicating the build
This commit is contained in:
committed by
jordan@doyle.la
parent
21b04b88ae
commit
06b90b8271
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user