Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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