From 06b90b8271257cf38d17bf460bf0109c130f71fa Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Sun, 12 Apr 2020 16:14:43 +0100 Subject: [PATCH] Do a cargo check instead of duplicating the build --- ci/script.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ci/script.sh b/ci/script.sh index 293504d..875a8c0 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -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 -- libgit2 1.7.2