agenix/.github/workflows/ci.yaml
Ryan Mulligan b8e873bc23 ci: split linux and macos
That wasn't how you do it.
2021-11-20 11:39:24 -08:00

24 lines
590 B
YAML

name: "CI"
on:
pull_request:
push:
jobs:
tests-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v15
with:
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
- run: nix build
- run: nix flake check
tests-darwin:
runs-on: macos-11
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v15
with:
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
- run: nix build
- run: nix flake check