This commit is contained in:
Guilhem Saurel
2024-03-09 00:13:00 +01:00
parent fedb5b649b
commit c2360cc128
5 changed files with 134 additions and 0 deletions

17
.github/workflows/nix.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: "Nix CI"
on: [pull_request, push]
jobs:
tests:
name: "Nix build on ${{ matrix.os }}"
runs-on: "${{ matrix.os }}-latest"
strategy:
matrix:
os: [ubuntu, macos]
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- run: nix build