Skip to content

Commit 5052aaf

Browse files
authored
Add experimental Nix CI (#1629)
from 3Rafal/nix-ci
2 parents 5fa30eb + 9609f0e commit 5052aaf

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/nix.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "Nix"
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths-ignore:
7+
- '**.md'
8+
- '**.txt'
9+
- '.git*'
10+
- 'doc/**'
11+
- 'emacs/**'
12+
- 'vim/**'
13+
- '**/emacs-lint.yml'
14+
pull_request:
15+
branches: [ master ]
16+
paths-ignore:
17+
- '**.md'
18+
- '**.txt'
19+
- '.git*'
20+
- 'doc/**'
21+
- 'emacs/**'
22+
- 'vim/**'
23+
- '**/emacs-lint.yml'
24+
25+
jobs:
26+
tests:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout code
30+
uses: actions/checkout@v3
31+
with:
32+
submodules: true
33+
- name: nix
34+
uses: cachix/install-nix-action@v21
35+
with:
36+
nix_path: nixpkgs=channel:nixos-unstable
37+
- run: nix develop -c dune build @check @runtest -p merlin-lib,dot-merlin-reader,merlin

0 commit comments

Comments
 (0)