Skip to content

feat: do matrix builds for macos runs #114

feat: do matrix builds for macos runs

feat: do matrix builds for macos runs #114

Workflow file for this run

name: MacOS
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest # aka macos-15, arm based runner
- macos-13 # intel based runner
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: brew update && brew install samba pkg-config && brew link --force samba
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Build
run: cargo build --all-targets
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy -- -Dwarnings