1
1
mirror of https://github.com/ryantm/agenix.git synced 2024-08-15 17:10:42 +03:00

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