Skip to content

Add GitHub CI

Add GitHub CI #1

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Build library
run: cargo build --release
- name: Build executable binary
run: cargo build --release --bin rrr-make --features cmd
- name: Run tests
run: cargo test --release
- name: Run benchmarks
run: cargo bench