name: Test
on:
workflow_dispatch:
jobs:
test:
name: Test (${{ matrix.runner }})
runs-on: ${{ matrix.runner }}
timeout-minutes: 15
defaults:
run:
shell: bash -euo pipefail {0}
strategy:
fail-fast: false
matrix:
include:
- runner: macos-15
target: aarch64-apple-darwin
- runner: ubuntu-latest
target: x86_64-unknown-linux-gnu
- runner: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
env:
CARGO_INCREMENTAL: 0
CARGO_PROFILE_DEV_DEBUG: 0
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.runner }}-${{ matrix.target }}
- name: Run tests
run: make test