mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-22 09:40:47 +03:00
ci: split linux and macos
That wasn't how you do it.
This commit is contained in:
parent
12e5225c9c
commit
b8e873bc23
1 changed files with 11 additions and 2 deletions
13
.github/workflows/ci.yaml
vendored
13
.github/workflows/ci.yaml
vendored
|
@ -3,8 +3,17 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests-linux:
|
||||||
runs-on: [ ubuntu-20.04, macos-11 ]
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
- uses: cachix/install-nix-action@v15
|
- uses: cachix/install-nix-action@v15
|
||||||
|
|
Loading…
Reference in a new issue