Build #62
This file contains hidden or 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: Build | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: '0 3 * * 1' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
name: Build | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install toolchain from rust-toolchain.toml | |
run: rustup show | |
- name: Install missing targets | |
run: rustup target add aarch64-apple-darwin x86_64-apple-darwin | |
- name: Build for x86_64 | |
run: cargo build --target x86_64-apple-darwin | |
- name: Build for aarch64 | |
run: cargo build --target aarch64-apple-darwin |