Merge pull request #53 from japaric/rm-getrandom-js #121
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: iOS | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup MacOS | |
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: Apple Silicon Build | |
run: | | |
cargo build --target aarch64-apple-darwin --tests --verbose | |
cargo build --release --target aarch64-apple-darwin --tests --verbose | |
- name: iOS build | |
run: | | |
cargo build --target aarch64-apple-ios --tests --verbose | |
cargo build --release --target aarch64-apple-ios --tests --verbose |