Skip to content

ci: run all flake checks, build morph examples #2

ci: run all flake checks, build morph examples

ci: run all flake checks, build morph examples #2

Workflow file for this run

name: "Flake Checks"
on:
push:
branches:
- "*"
pull_request:
branches:
- "master"
jobs:
nix_flake_check:
name: Nix ${{ matrix.systems }} ${{ matrix.checks }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
checks: [build, formatting", pre-commit-check, vm_integration_tests]
os: [ubuntu-latest, macos-latest]
systems: ["x86_64-linux", "aarch64-linux","x86_64-darwin", "aarch64-darwin"]
include:
- os: ubuntu-latest
systems: ["x86_64-linux", "aarch64-linux"]
- os: macos-latest
systems: ["x86_64-darwin", "aarch64-darwin"]
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v14
- name: Setup Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Nix Flake Check
run: nix build ./#checks.${{ matrix.systems }}.${{ matrix.checks }} -L