aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test.yml
blob: 447a6d43bf9c4a272b95f7af66fa6c4ffd864991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: "Test"
on:
  pull_request:
  push:
jobs:
  tests:
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest]
    runs-on: ${{ matrix.os }}
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 0
    - uses: cachix/install-nix-action@v8
    #- run: nix flake check
    - run: nix-build -A checks.$(if [[ `uname` = Linux ]]; then echo x86_64-linux; else echo x86_64-darwin; fi)