File tree Expand file tree Collapse file tree 2 files changed +152
-0
lines changed
Expand file tree Collapse file tree 2 files changed +152
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ci
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches : [main]
7+ pull_request :
8+ branches : [main]
9+
10+ env :
11+ FIXPOINT_VERSION : " 556104ba5508891c357b0bdf819ce706e93d9349"
12+ FLUX_VERSION : " 192362760b73ea517d0349f7167661a02175b24f"
13+
14+ jobs :
15+ flux :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v4
19+
20+ - name : Cache fixpoint
21+ uses : actions/cache@v4
22+ id : cache-fixpoint
23+ with :
24+ path : local-binaries
25+ key : fixpoint-bin-${{ runner.os }}-${{ env.FIXPOINT_VERSION }}
26+
27+ - name : Install Haskell
28+ if : steps.cache-fixpoint.outputs.cache-hit != 'true'
29+ uses :
haskell-actions/[email protected] 30+ with :
31+ enable-stack : true
32+ stack-version : " 2.15.7"
33+
34+ - name : Install fixpoint
35+ if : steps.cache-fixpoint.outputs.cache-hit != 'true'
36+ run : |
37+ git clone https://github.com/ucsd-progsys/liquid-fixpoint.git
38+ cd liquid-fixpoint
39+ git checkout $FIXPOINT_VERSION
40+ stack install --fast --flag liquid-fixpoint:-link-z3-as-a-library
41+ chmod 755 ~/.local/bin/fixpoint && echo ~/.local/bin >> $GITHUB_PATH
42+
43+ - name : Install Z3
44+ 45+ with :
46+ version : 4.12.1
47+ platform : linux
48+ env :
49+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50+
51+ - name : Install Flux
52+ run : |
53+ git clone https://github.com/flux-rs/flux.git
54+ cd flux
55+ git checkout $FLUX_VERSION
56+ cargo x install
57+ echo ~/.cargo/bin >> $GITHUB_PATH
58+
59+ - name : Verify Core
60+ run : |
61+ cd library
62+ cargo flux -p core
You can’t perform that action at this time.
0 commit comments