aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-semihosting/ci/script.sh
blob: dc0be46e5f04a19ef485b88d9e2918ea99ae74e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
set -euxo pipefail

main() {
    cargo check --target $TARGET

    if [ $TRAVIS_RUST_VERSION = nightly ]; then
        cargo check --target $TARGET --features inline-asm
    fi

    if [ $TARGET = x86_64-unknown-linux-gnu ]; then
        ./check-blobs.sh
    fi
}

main