summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorSon Ho2023-12-05 17:34:13 +0100
committerSon Ho2023-12-05 17:34:13 +0100
commit726db4911add81a853aafcec3936b457aaeff5b4 (patch)
tree2663915767c3558203990ed14f8d5604b7fd21d1 /.github/workflows
parent92887b89e35607e99bae2f19e4c5b2f162683d02 (diff)
parent4795e5f823bc89504855d8eb946b111d9314f4d5 (diff)
Merge branch 'main' into son_fixes2
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 00000000..6b5aacf0
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,34 @@
+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-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