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 43
43
target : x86_64-apple-darwin
44
44
rust : stable
45
45
os : macos-latest
46
+ - thing : macos-aarch64
47
+ target : aarch64-apple-darwin
48
+ rust : nightly
49
+ os : macos-latest
46
50
- thing : arm-android
47
51
target : arm-linux-androideabi
48
52
rust : stable
Original file line number Diff line number Diff line change 1
1
target=$1
2
2
set -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
+
3
11
cargo test --manifest-path testcrate/Cargo.toml --target $1 -vv
4
12
cargo test --manifest-path testcrate/Cargo.toml --target $1 -vv --release
5
13
if [ " $1 " = " x86_64-unknown-linux-gnu" ] ; then
You can’t perform that action at this time.
0 commit comments