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

main() {
    if [ $TARGET = x86_64-unknown-linux-gnu ]; then
        cargo build
        cargo test --test cfail
        return
    fi

    xargo build --target $TARGET
    xargo check --target $TARGET --examples
}

main