forked from adamantine-sim/adamantine
-
Notifications
You must be signed in to change notification settings - Fork 0
23 lines (22 loc) · 690 Bytes
/
Copy pathnix.yml
File metadata and controls
23 lines (22 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
name: Nix
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ./
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31.6.1
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
trusted-public-keys = mdfbaam.cachix.org-1:WCQinXaMJP7Ny4sMlKdisNUyhcO2MHnPoobUef5aTmQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
substituters = https://mdfbaam.cachix.org https://cache.nixos.org
- run: nix flake check
- run: nix build