summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorSon HO2023-11-10 18:21:06 +0100
committerGitHub2023-11-10 18:21:06 +0100
commit587f1ebc0178acb19029d3fc9a729c197082aba7 (patch)
treef29805e5426f9f3fabe12d3fdadda96a1e987880 /.github/workflows/ci.yml
parent7fc7c82aa61d782b335e7cf37231fd9998cd0d89 (diff)
parentd300be95c28ff3147bb6f6a65992df5b9b571bdf (diff)
Merge pull request #44 from AeneasVerif/son_traits_types
Add support for traits
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml17
1 files changed, 16 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 664dc674..6b5aacf0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,5 +15,20 @@ jobs:
- 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 doesn't work with Nix
+ #- run: nix build -L .#checks.x86_64-linux.aeneas-verify-lean
+ lean: # Lean isn't supported by Nix, so we put it in a different job
+ runs-on: [ubuntu-latest]
+ steps:
+ # Install curl
+ - run: sudo apt update && sudo apt install curl
+ # Install Elan (https://leanprover-community.github.io/install/linux.html) and Lean in
+ # non-interactive mode:
+ - run: curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | bash -s -- -y
+ # Checkout the repo and download it to the runner
+ - name: Checkout
+ uses: actions/checkout@v4
+ # Verify - note that we need to update the environment with `source` so
+ # that the lake binary is in the path.
+ - run: source ~/.profile && cd tests/lean && make