Skip to content

feat(run): preflight validation before compute (Phase 1) #60

feat(run): preflight validation before compute (Phase 1)

feat(run): preflight validation before compute (Phase 1) #60

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build-test:
name: build + test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
defaults:
run:
working-directory: rust/mumdia
steps:
- uses: actions/checkout@v4
# rust-toolchain.toml (in rust/mumdia) pins the exact toolchain; rustup
# installs it automatically on first cargo invocation.
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
rust/mumdia/target
key: ${{ runner.os }}-cargo-${{ hashFiles('rust/mumdia/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Build (release)
run: cargo build --release --locked
- name: Test
run: cargo test --locked