2021-11-20 22:30:40 +03:00
|
|
|
name: "CI"
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
jobs:
|
2021-11-20 22:39:24 +03:00
|
|
|
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
|
2021-11-20 22:30:40 +03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2.3.4
|
|
|
|
- uses: cachix/install-nix-action@v15
|
2021-11-20 22:37:06 +03:00
|
|
|
with:
|
|
|
|
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
|
|
|
|
- run: nix build
|
2021-11-20 22:31:38 +03:00
|
|
|
- run: nix flake check
|