File tree 3 files changed +35
-0
lines changed
3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 21
21
matrix :
22
22
target :
23
23
- x86_64-apple-darwin
24
+ - aarch64-apple-darwin
24
25
steps :
25
26
- uses : actions/checkout@v2
26
27
with :
68
69
rustup toolchain uninstall stable
69
70
fi
70
71
rustup toolchain install --profile=minimal stable
72
+ - name : aarch64-specific items
73
+ run : |
74
+ # Use nightly for now
75
+ rustup toolchain install --profile=minimal nightly
76
+ rustup default nightly
77
+
78
+ # Can't run tests: cross-compiling
79
+ echo "SKIP_TESTS=yes" >> $GITHUB_ENV
80
+
81
+ # Use the beta compiler
82
+ sudo xcode-select -s /Applications/Xcode_12.2.app/Contents/Developer/
83
+
84
+ # Set SDK environment variables
85
+ echo "SDKROOT=$(xcrun -sdk macosx11.0 --show-sdk-path)" >> $GITHUB_ENV
86
+ echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.0 --show-sdk-platform-version)" >> $GITHUB_ENV
87
+ if : matrix.target == 'aarch64-apple-darwin'
71
88
- name : Ensure we have our goal target installed
72
89
run : |
73
90
rustup target install "$TARGET"
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ system.
59
59
| x86_64-linux-android | Yes | Two | No | No |
60
60
| riscv64gc-unknown-linux-gnu | Yes | --- | No | No |
61
61
| ----------------------------- | ---------- | ----- | ------ | ---------- |
62
+ | aarch64-apple-darwin | Yes | Two | Yes | Yes |
62
63
| x86_64-apple-darwin | No | One | Yes | Yes |
63
64
| ----------------------------- | ---------- | ----- | ------ | ---------- |
64
65
| x86_64-pc-windows-msvc | No | One | Yes | Yes |
Original file line number Diff line number Diff line change 21
21
matrix :
22
22
target :
23
23
- x86_64-apple-darwin
24
+ - aarch64-apple-darwin
24
25
steps :
25
26
- uses : actions/checkout@v2
26
27
with :
68
69
rustup toolchain uninstall stable
69
70
fi
70
71
rustup toolchain install --profile=minimal stable
72
+ - name : aarch64-specific items
73
+ run : |
74
+ # Use nightly for now
75
+ rustup toolchain install --profile=minimal nightly
76
+ rustup default nightly
77
+
78
+ # Can't run tests: cross-compiling
79
+ echo "SKIP_TESTS=yes" >> $GITHUB_ENV
80
+
81
+ # Use the beta compiler
82
+ sudo xcode-select -s /Applications/Xcode_12.2.app/Contents/Developer/
83
+
84
+ # Set SDK environment variables
85
+ echo "SDKROOT=$(xcrun -sdk macosx11.0 --show-sdk-path)" >> $GITHUB_ENV
86
+ echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.0 --show-sdk-platform-version)" >> $GITHUB_ENV
87
+ if : matrix.target == 'aarch64-apple-darwin'
71
88
- name : Ensure we have our goal target installed
72
89
run : |
73
90
rustup target install "$TARGET"
You can’t perform that action at this time.
0 commit comments