Skip to content

use macos in CI

use macos in CI #32

Workflow file for this run

name: Cargo Build, Test and Bench
on:
push:
paths-ignore:
- "*.md"
- ".gitignore"
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Rust project - latest
runs-on: macos-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose
- run: ./create_measurements.sh 1_000_000_000
- run: cargo install hyperfine
- run: ./bench.sh