Skip to content

Add Windows and macOS support #28

Add Windows and macOS support

Add Windows and macOS support #28

Workflow file for this run

name: "Test Suite"
on:
push:
pull_request:
jobs:
test:
name: cargo test
runs-on: self-hosted
steps:
- name: Install C compiler
run: sudo apt-get update && sudo apt-get install -y build-essential
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo test
# Check formatting with rustfmt
formatting:
name: cargo fmt
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
# Ensure rustfmt is installed and setup problem matcher
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1