ci: split linux and macos

That wasn't how you do it.
This commit is contained in:
Ryan Mulligan 2021-11-20 11:39:24 -08:00
parent 12e5225c9c
commit b8e873bc23

View file

@ -3,8 +3,17 @@ on:
pull_request:
push:
jobs:
tests:
runs-on: [ ubuntu-20.04, macos-11 ]
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