Skip to content

Commit

Permalink
ios and apple silicon targets
Browse files Browse the repository at this point in the history
  • Loading branch information
franziskuskiefer committed May 20, 2021
1 parent c79bd90 commit 76eb39f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup MacOS
if: matrix.os == 'macos-latest'
run: |
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*
sudo xcode-select -s /Applications/Xcode_12.4.app
rustup target install aarch64-apple-darwin
rustup target install aarch64-apple-ios
- name: Run tests
# Always enabling rust crypto AES for now.
run: cargo test --verbose --features rust-crypto
Expand All @@ -36,6 +43,16 @@ jobs:
- name: Run tests all features
# Always enabling rust crypto AES for now.
run: cargo test --release --verbose --all-features
- name: Apple Silicon Build
if: matrix.os == 'macos-latest'
run: |
cargo build --target aarch64-apple-darwin --tests --verbose --features rust-crypto
cargo build --release --target aarch64-apple-darwin --tests --verbose --features rust-crypto
- name: iOS build
if: matrix.os == 'macos-latest'
run: |
cargo build --target aarch64-apple-ios --tests --verbose --features rust-crypto
cargo build --release --target aarch64-apple-ios --tests --verbose --features rust-crypto
fuzz:
strategy:
fail-fast: false
Expand Down

0 comments on commit 76eb39f

Please sign in to comment.