-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af2d33f
commit 795c0ba
Showing
7 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,26 +18,35 @@ jobs: | |
submodules: 'recursive' | ||
fetch-depth: 0 | ||
|
||
# Dafny likes `4.12.1`, FStar likes `4.13.3`, Viper likes `4.8.7` | ||
- name: Install Z3 for newer version | ||
uses: pavpanchekha/[email protected] | ||
with: | ||
version: 4.12.1 | ||
distribution: 'glibc-2.35' | ||
|
||
# Dafny | ||
- name: Setup dotnet | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 6.0.x | ||
|
||
# Dafny & Carbon | ||
- name: Install Boogie | ||
run: dotnet tool install --global boogie | ||
|
||
# FStar | ||
- name: Set-up OCaml | ||
uses: ocaml/setup-ocaml@v3 | ||
with: | ||
ocaml-compiler: 5 | ||
|
||
- name: Debugging with tmate | ||
uses: mxschmitt/[email protected] | ||
|
||
- name: Make smt2 files | ||
run: ./make_smt2.sh | ||
|
||
# - name: Debugging with tmate | ||
# uses: mxschmitt/[email protected] | ||
|
||
- name: Merge in from main | ||
run: | | ||
git config --global user.email "gh-action[bot]@users.noreply.github.com" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Requires `opam` and `coreutils` | ||
cd "$(dirname "$0")/fstar" | ||
|
||
export PATH="$(pwd)/z3/bin:$PATH" | ||
if [ ! -f ./bin/fstar.exe ]; then | ||
./bin/get_fstar_z3.sh ./z3/bin | ||
opam install --deps-only -y . | ||
eval $(opam env) | ||
make -j 6 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FSTAR="$(dirname "$0" | realpath)/fstar/bin/fstar.exe" | ||
|
||
OUT="$(pwd)/$(dirname "$2")" | ||
mkdir -p "$OUT" | ||
cd "$OUT" | ||
|
||
Z3_VERSION=$(z3 --version | sed -E 's/.* ([0-9]+\.[0-9]+\.[0-9]+).*/\1/g') | ||
"$FSTAR" --z3version "$Z3_VERSION" --log_queries "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
find "$(realpath "$0" | xargs dirname)/fstar/tests" -name "*.fst" -type f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters