Skip to content

chore: release v0.8.1 #571

chore: release v0.8.1

chore: release v0.8.1 #571

Workflow file for this run

---
name: CI
# yamllint disable-line rule:truthy
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
jobs:
format:
name: Check format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: cargo fmt --all --check
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
toolchain: [stable, 1.67.0]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- run: cargo clippy
- uses: ./.github/actions/install-linuxbrew
if: matrix.os == 'ubuntu-latest'
- uses: ./.github/actions/install-sdl2
if: matrix.os != 'windows-latest'
- name: Build
shell: bash
run: |
cargo build --all-targets --features "serde" --verbose
# TODO: Enable when WASM development begins
# bin/build_wasm.sh --dev
- run: cargo doc --features "serde" --verbose
- run: cargo test --features "serde" --verbose