Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Repair CI

Repair CI #590

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
env:
RUSTFLAGS: -Dwarnings
jobs:
build_and_test:
name: Build and test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
rust: [stable, 1.59.0]
steps:
- uses: actions/checkout@v4
- name: Install ${{ matrix.rust }}
run: rustup install ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
- run: cargo check --all --bins --examples
- run: cargo test --all
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo clippy --all-targets --all-features
check_fmt_and_docs:
name: Checking fmt and docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo fmt --all -- --check
- run: cargo doc
fuzz:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo install cargo-fuzz
- name: compile fuzz
run: |
cargo fuzz build fuzz_read