Skip to content

commit with CI

commit with CI #8

Workflow file for this run

name: Run tests
on:
pull_request:
push:
branches:
- master
# Make sure CI fails on all warnings, including Clippy lints
# env:
# RUSTFLAGS: "-Dwarnings"
jobs:
test:
name: test
runs-on: ${{ matrix.os }}
strategy:
matrix:
build: [linux, osx, win-msvc, win-gnu]
include:
- build: linux
os: ubuntu-latest
rust: stable
- build: osx
os: macos-latest
rust: stable
- build: win-msvc
os: windows-latest
rust: stable
- build: win-gnu
os: windows-latest
rust: stable-x86_64-gnu
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo build --verbose
- run: cargo test --verbose