lix/.github/workflows/test.yml

18 lines
415 B
YAML
Raw Normal View History

2020-03-13 11:57:58 +01:00
name: "Test"
on:
pull_request:
push:
jobs:
tests:
strategy:
matrix:
2020-05-15 10:06:14 +02:00
os: [ubuntu-latest, macos-latest]
2020-03-13 11:57:58 +01:00
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
2020-03-13 11:57:58 +01:00
- uses: cachix/install-nix-action@v8
2020-03-13 17:13:54 +01:00
#- run: nix flake check
- run: nix-build -A checks.$(if [[ `uname` = Linux ]]; then echo x86_64-linux; else echo x86_64-darwin; fi)