Skip to content

feat: rust insert-dylib with docs, CI, and release workflow #1

feat: rust insert-dylib with docs, CI, and release workflow

feat: rust insert-dylib with docs, CI, and release workflow #1

Workflow file for this run

name: CI
on:
push:
pull_request:
permissions:
contents: read
jobs:
build:
name: Build / Lint (macOS aarch64)
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Add target
run: rustup target add aarch64-apple-darwin
- name: Cache cargo artifacts
uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt --all -- --check
- name: Check compilation
run: cargo check --all-targets --target aarch64-apple-darwin
- name: Run clippy
run: cargo clippy --all-targets --target aarch64-apple-darwin -- -D warnings
- name: Run tests
run: cargo test --target aarch64-apple-darwin