🏡 index : ~doyle/bin.git

author Jordan Doyle <jordan@doyle.la> 2020-04-12 15:14:43.0 +00:00:00
committer jordan@doyle.la <jordan@doyle.la> 2020-04-12 15:44:55.0 +00:00:00
commit
06b90b8271257cf38d17bf460bf0109c130f71fa [patch]
tree
da19fec12923e2133284577140cc42c7c8cf984c
parent
21b04b88aece1aab82e29727cc3a21257cc1a1b5
download
06b90b8271257cf38d17bf460bf0109c130f71fa.tar.gz

Do a cargo check instead of duplicating the build



Diff

 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