Skip to content

Testing macos and windows runners #52

Testing macos and windows runners

Testing macos and windows runners #52

Workflow file for this run

name: CI Build
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, macos-14]
steps:
- name: Cache git folder
uses: actions/cache@v4
with:
path: .git
key: git-repository-key
- uses: actions/checkout@v4
with:
submodules: true
lfs: true
- name: Install Rust
run: rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
- name: Run formatter
run: cargo fmt --check
if: matrix.os == 'ubuntu-latest'
- name: Run clippy
run: bash scripts/ci/clippy.bash
- name: Run tests
run: cargo test --release