-
Notifications
You must be signed in to change notification settings - Fork 112
44 lines (42 loc) · 1.06 KB
/
test-lean-auto.yml
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
37
38
39
40
41
42
43
44
name: LeanAuto CI
on:
workflow_dispatch:
push:
tags:
- 'v*'
pull_request:
branches:
- master
jobs:
job0:
name: LeanAuto CI
runs-on: ubuntu-22.04
steps:
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Setup Z3
uses: cda-tum/setup-z3@v1
with:
version: 4.12.5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout Boogie
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install tools, build Boogie
run: |
dotnet tool restore
dotnet build -warnaserror Source/Boogie.sln
- name: Setup Lean
uses: Julian/setup-lean@v1
with:
# Lean version will be chosen based on Test/lean-auto/lean-toolchain
default-toolchain-file: Test/lean-auto/lean-toolchain
- name: Test Lean generator on textbook examples
working-directory: Test/lean-auto
run: |
lake build
./testall.sh