diff options
Diffstat (limited to 'ci')
| -rw-r--r-- | ci/script.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ci/script.sh b/ci/script.sh index 212a48a..5b9cea7 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -3,16 +3,12 @@ set -ex main() { if [ $TARGET = x86_64-unknown-linux-gnu ]; then cargo build - cargo test + cargo test --tests return fi xargo build --target $TARGET - for ex in $(ls examples/*); do - ex=$(basename $ex) - ex=${ex%.*} - xargo build --target $TARGET --example $ex - done + xargo test --target $TARGET --examples } main |
