Skip to content

Commit 99b2585

Browse files
committed
Debugging #162.
1 parent 4292a34 commit 99b2585

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/rust.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,24 @@ jobs:
3636
- name: Run tests debug
3737
run: cargo test --all --features debug
3838
- name: Run tests cache-friendly
39-
run: cargo test --all --features cache-friendly
39+
run: cargo test --all --features cache-friendly
40+
41+
crossbuild-mac-arm:
42+
runs-on: macOS-latest
43+
steps:
44+
- uses: actions-rs/toolchain@v1
45+
with:
46+
toolchain: nightly
47+
target: aarch64-apple-darwin
48+
- name: Checkout
49+
uses: actions/checkout@v2
50+
with:
51+
submodules: recursive
52+
- name: Build
53+
env:
54+
DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer
55+
MACOSX_DEPLOYMENT_TARGET: '10.9'
56+
run: |
57+
# set SDKROOT for C dependencies
58+
export SDKROOT=$(xcrun --sdk macosx --show-sdk-path)
59+
cargo +nightly build --verbose --target aarch64-apple-darwin

0 commit comments

Comments
 (0)