From 603b6e8627e2b1d104375488ffa02427800e918b Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Sun, 26 Aug 2018 16:29:47 +0300 Subject: [PATCH] Use check instead of build in the CI --- appveyor.yml | 4 ++-- ci/script.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 6229b6e0..e7fd43ce 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -24,8 +24,8 @@ install: test_script: - if [%APPVEYOR_REPO_TAG%]==[false] ( - cargo build --target %TARGET% && - cargo build --target %TARGET% --release + cargo check --target %TARGET% && + cargo check --target %TARGET% --release ) before_deploy: diff --git a/ci/script.sh b/ci/script.sh index ba76545e..685b5f93 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -5,8 +5,8 @@ set -ex # TODO This is the "test phase", tweak it as you see fit main() { cargo fmt --all -- --check - cross build --target $TARGET - cross build --target $TARGET --release + cross check --target $TARGET + cross check --target $TARGET --release if [ ! -z $DISABLE_TESTS ]; then return