name: CI
on:
push:
branches:
pull_request:
# Monthly, so a dependency or toolchain break surfaces without waiting for a commit.
schedule:
- cron: "0 0 1 * *"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
# mozjpeg-sys builds its SIMD paths with nasm.
- run: sudo apt-get update && sudo apt-get install -y nasm
- run: cargo test