File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 91
91
92
92
# macOS targets
93
93
# - x86_64-apple-darwin
94
+ - aarch64-apple-darwin
94
95
# FIXME: gh-actions build environment doesn't have linker support
95
96
# - i686-apple-darwin
96
97
@@ -132,6 +133,9 @@ jobs:
132
133
os : ubuntu-latest
133
134
# - target: wasm32-wasi
134
135
# os: ubuntu-latest
136
+ - target : aarch64-apple-darwin
137
+ os : macos-latest
138
+ norun : true
135
139
- target : aarch64-unknown-linux-gnu
136
140
os : ubuntu-latest
137
141
# Temporarily disabled because otool crashes with "Out of memory", seems Github CI issue
@@ -184,6 +188,12 @@ jobs:
184
188
rustup default nightly
185
189
rustup target add ${{ matrix.target }}
186
190
if: "!endsWith(matrix.target, 'emulated')"
191
+ - name : Setup (aarch64-apple-darwin)
192
+ run : |
193
+ sudo xcode-select -s /Applications/Xcode_12.2.app/
194
+ echo "SDKROOT=$(xcrun -sdk macosx11.0 --show-sdk-path)" >> $GITHUB_ENV
195
+ echo "MACOS_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.0 --show-sdk-platform-version)" >> $GITHUB_ENV
196
+ if : matrix.target == 'aarch64-apple-darwin'
187
197
- run : cargo generate-lockfile
188
198
189
199
# Configure some env vars based on matrix configuration
You can’t perform that action at this time.
0 commit comments