From 99b258565c6856362ccdb7aebfee8ba8745f685d Mon Sep 17 00:00:00 2001 From: Matthew Parkinson Date: Mon, 11 Oct 2021 09:23:22 +0100 Subject: [PATCH] Debugging #162. --- .github/workflows/rust.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b8048ff..84467e0 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -36,4 +36,24 @@ jobs: - name: Run tests debug run: cargo test --all --features debug - name: Run tests cache-friendly - run: cargo test --all --features cache-friendly \ No newline at end of file + run: cargo test --all --features cache-friendly + + crossbuild-mac-arm: + runs-on: macOS-latest + steps: + - uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + target: aarch64-apple-darwin + - name: Checkout + uses: actions/checkout@v2 + with: + submodules: recursive + - name: Build + env: + DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer + MACOSX_DEPLOYMENT_TARGET: '10.9' + run: | + # set SDKROOT for C dependencies + export SDKROOT=$(xcrun --sdk macosx --show-sdk-path) + cargo +nightly build --verbose --target aarch64-apple-darwin \ No newline at end of file