File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 4343 target : x86_64-apple-darwin
4444 rust : stable
4545 os : macos-latest
46+ - thing : macos-aarch64
47+ target : aarch64-apple-darwin
48+ rust : nightly
49+ os : macos-latest
4650 - thing : arm-android
4751 target : arm-linux-androideabi
4852 rust : stable
Original file line number Diff line number Diff line change 11target=$1
22set -ex
3+
4+ if [ " $1 " = " aarch64-apple-darwin" ] ; then
5+ sudo xcode-select -s /Applications/Xcode_12.2.app/Contents/Developer/
6+ export SDKROOT=$( xcrun -sdk macosx11.0 --show-sdk-path)
7+ export MACOSX_DEPLOYMENT_TARGET=$( xcrun -sdk macosx11.0 --show-sdk-platform-version)
8+ export CARGO_TARGET_AARCH64_APPLE_DARWIN_RUNNER=echo
9+ fi
10+
311cargo test --manifest-path testcrate/Cargo.toml --target $1 -vv
412cargo test --manifest-path testcrate/Cargo.toml --target $1 -vv --release
513if [ " $1 " = " x86_64-unknown-linux-gnu" ] ; then
You can’t perform that action at this time.
0 commit comments