Skip to content

ci: remove Cirrus, add GitHub Actions on macOS #90

ci: remove Cirrus, add GitHub Actions on macOS

ci: remove Cirrus, add GitHub Actions on macOS #90

Workflow file for this run

name: Rust
permissions: read-all
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build_test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Build
run: cargo build --verbose
- name: Format
run: cargo fmt --check
# TODO: some KVM related tests cannot run in github runners.
# - name: Run tests
# run: cargo test --verbose
- name: Clippy
run: cargo clippy