chore: bump Cargo.lock #16
Workflow file for this run
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: Rust | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-mac: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Cache Rust dependencies | |
uses: actions/[email protected] | |
with: | |
path: target | |
key: ${{ runner.OS }}-build-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: | | |
${{ runner.OS }}-build- | |
- name: Install Rust toolchain (Apple Silicon) | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: aarch64-apple-darwin | |
override: true | |
- name: Build for mac | |
run: cargo build --release --target aarch64-apple-darwin | |
- name: Create Release Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: meower-darwin-arm | |
path: target/aarch64-apple-darwin/release/meower |