2020-03-13 12:57:58 +02:00
|
|
|
name: "Test"
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
jobs:
|
|
|
|
tests:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2020-05-15 11:06:14 +03:00
|
|
|
os: [ubuntu-latest, macos-latest]
|
2020-03-13 12:57:58 +02:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-03-13 18:25:47 +02:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2020-06-28 09:02:57 +03:00
|
|
|
- uses: cachix/install-nix-action@v10
|
2020-08-30 23:52:34 +03:00
|
|
|
with:
|
|
|
|
skip_adding_nixpkgs_channel: true
|
2020-03-13 18:13:54 +02:00
|
|
|
#- run: nix flake check
|
|
|
|
- run: nix-build -A checks.$(if [[ `uname` = Linux ]]; then echo x86_64-linux; else echo x86_64-darwin; fi)
|