Skip to content

Elevate README into a reference-quality technical overview of the dis… #11

Elevate README into a reference-quality technical overview of the dis…

Elevate README into a reference-quality technical overview of the dis… #11

Workflow file for this run

name: ci
on:
push:
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cargo fmt check
run: cargo fmt --check
- name: Cargo clippy
run: cargo clippy --all-targets -- -D warnings
- name: Cargo test
run: cargo test
fixture-verification:
runs-on: ubuntu-latest
env:
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
steps:
- uses: actions/checkout@v4
- name: Install system cross toolchain
run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu
- name: Install Rust toolchain with AArch64 target
uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-unknown-linux-gnu
- name: Build host fixture binary
run: cargo build -p fixtures
- name: Verify x86_64 fixture symbols
run: test "$(nm target/debug/fixtures | grep -E -c '(^|[[:space:]])fixture_' || true)" -ge 10
- name: Build AArch64 fixture binary
run: cargo build -p fixtures --target aarch64-unknown-linux-gnu
- name: Verify AArch64 fixture symbols
run: test "$(aarch64-linux-gnu-nm target/aarch64-unknown-linux-gnu/debug/fixtures | grep -E -c '(^|[[:space:]])fixture_' || true)" -ge 2
- name: Run fixture integration tests
run: cargo test --test fixtures
smoke:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Run smoke verification
run: bash scripts/smoke.sh