summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
blob: a67a2aedabfc2c57ea3c894a49f155a6bb01c38e (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
on:
  push:
    branches-ignore: [ '_**' ]
  pull_request:
  workflow_dispatch:

jobs:
  nix:
    #runs-on: ubuntu-latest
    runs-on: [self-hosted, linux, nix]
    steps:
      #- uses: cachix/install-nix-action@v22
      - uses: actions/checkout@v4
      - run: nix build -L .#aeneas
      - run: nix build -L .#checks.x86_64-linux.aeneas-tests
      - run: nix build -L .#checks.x86_64-linux.aeneas-verify-fstar
      - run: nix build -L .#checks.x86_64-linux.aeneas-verify-coq
      #- run: nix build -L .#checks.x86_64-linux.aeneas-verify-lean
      - run: nix build -L .#checks.x86_64-linux.aeneas-verify-hol4
      # Lean isn't supported by Nix, so we need to add extra steps
      # Install Elan (https://leanprover-community.github.io/install/linux.html)
      - run: curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh
      # Verify
      - run: cd tests/lean && make