aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/main.yml
blob: b6c088dc34e291b3a8e48466a89e6c7153d7dfcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: CI

on:
  push:
    branches: [ master ]
    paths:
      - "**.v"
      - "**.ml"
      - "**.mli"
      - "**.yml"
      - "*.nix"
      - Makefile
  pull_request:
    branches: [ master ]
    paths:
      - "**.v"
      - "**.ml"
      - "**.mli"
      - "**.yml"
      - "*.nix"
      - Makefile
  workflow_dispatch: {}

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2.4.0
      with:
        submodules: true

    - uses: cachix/install-nix-action@v15

    - name: Build
      run: nix develop -c make -j8