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

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

    cross build --target $TARGET
    cross build --target $TARGET --release
}

main