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 9191
9292 # macOS targets
9393 # - x86_64-apple-darwin
94+ - aarch64-apple-darwin
9495 # FIXME: gh-actions build environment doesn't have linker support
9596 # - i686-apple-darwin
9697
@@ -132,6 +133,9 @@ jobs:
132133 os : ubuntu-latest
133134 # - target: wasm32-wasi
134135 # os: ubuntu-latest
136+ - target : aarch64-apple-darwin
137+ os : macos-latest
138+ norun : true
135139 - target : aarch64-unknown-linux-gnu
136140 os : ubuntu-latest
137141 # Temporarily disabled because otool crashes with "Out of memory", seems Github CI issue
@@ -184,6 +188,12 @@ jobs:
184188 rustup default nightly
185189 rustup target add ${{ matrix.target }}
186190 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'
187197 - run : cargo generate-lockfile
188198
189199 # Configure some env vars based on matrix configuration
You can’t perform that action at this time.
0 commit comments