aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/main.yml
blob: 7e04aa307b67614c6c33c0a4a4ec2b891a9985c7 (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
name: CI

jobs:
  build:
    runs-on: ubuntu-latest

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

    - name: Install Nix
      uses: cachix/install-nix-action@v10

    - name: Build
      run: nix-shell --run "make -j8"

    - name: Generate Documentation
      run: nix-shell --run "make -j8 doc"

    - uses: actions/upload-artifact@v2
      with:
        name: html-documentation
        path: html/