summaryrefslogtreecommitdiffstats
path: root/third_party/rust/authenticator/testing/run_cross.sh
blob: e62b8bd4928573c80f7c8d7477040adf24f35e2b (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash -xe

pushd testing/cross/
docker build -t local_cross:x86_64-unknown-linux-gnu -f x86_64-unknown-linux-gnu.Dockerfile .
docker build -t local_cross:powerpc64le-unknown-linux-gnu -f powerpc64le-unknown-linux-gnu.Dockerfile .
popd

cross test --target x86_64-unknown-linux-gnu
cross build --target x86_64-unknown-netbsd
cross build --target powerpc64le-unknown-linux-gnu
cross build --target x86_64-pc-windows-gnu