File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ defaults:
1818jobs :
1919 build :
2020 strategy :
21+ fail-fast : false
2122 matrix :
2223 os :
2324 # We prefer slightly older Ubuntu so we get binaries that work on
3940
4041 - name : Prepare
4142 run : |
42- ./.scripts/get_fstar_z3.sh $HOME/bin
4343 echo "PATH=$HOME/bin:$PATH" >> $GITHUB_ENV
4444 opam install --deps-only ./fstar.opam
4545
6666 KERNEL=$(uname -s)
6767 ARCH=$(uname -m)
6868 export FSTAR_TAG=-$KERNEL-$ARCH
69- make -skj$(nproc) package
69+ make -skj$(nproc) package ADMIT=1
7070 # Currently creating the source package in a separate job
7171 # make -skj$(nproc) package-src FSTAR_TAG=
7272 # # ^ no tag in source package
8383 smoke_test :
8484 needs : build
8585 strategy :
86+ fail-fast : false
8687 matrix :
8788 os :
8889 - ubuntu-22.04
@@ -102,7 +103,7 @@ jobs:
102103 - name : Smoke test
103104 run : |
104105 ./fstar/bin/fstar.exe fstar/lib/fstar/ulib/Prims.fst -f
105- echo -e "module A\let _ = assert (forall x. 1 + x*x > 0)" > A.fst
106+ echo -e "module A\nlet _ = assert (forall x. 1 + x*x > 0)" > A.fst
106107 ./fstar/bin/fstar.exe A.fst
107108 echo -e "module B\n#lang-pulse\nopen Pulse\nfn test (x:int) returns int { (x+1); }" > B.fst
108109 ./fstar/bin/fstar.exe --admit_smt_queries true B.fst
Original file line number Diff line number Diff line change 1010
1111jobs :
1212 build :
13- runs-on : macos-14
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ os :
17+ - macos-14
18+ - macos-15-intel
19+ runs-on : ${{ matrix.os }}
20+
1421 steps :
1522 - uses : actions/checkout@master
1623 with :
2431 - name : Prepare
2532 run : |
2633 brew install opam bash gnu-getopt coreutils gnu-sed make
27- ./.scripts/get_fstar_z3.sh $HOME/bin
2834 echo "PATH=$HOME/bin:$PATH" >> $GITHUB_ENV
2935 opam install --deps-only ./fstar.opam
3036
@@ -52,38 +58,37 @@ jobs:
5258 KERNEL=$(uname -s)
5359 ARCH=$(uname -m)
5460 export FSTAR_TAG=-$KERNEL-$ARCH
55- gmake -skj$(nproc) package
61+ gmake -skj$(nproc) package ADMIT=1
5662
5763 - uses : actions/upload-artifact@v7
5864 with :
5965 path : fstar-*
60- name : package-mac
66+ name : package-mac-${{ matrix.os }}
6167
6268 smoke_test :
6369 needs : build
6470 strategy :
71+ fail-fast : false
6572 matrix :
6673 os :
6774 - macos-14
6875 - macos-15
6976 - macos-latest
77+ - macos-15-intel
7078 runs-on : ${{ matrix.os }}
7179 steps :
72- - uses : cda-tum/setup-z3@main
73- with :
74- version : 4.13.3
75-
7680 - name : Get fstar package
7781 uses : actions/download-artifact@v8
7882 with :
79- name : package-mac
83+ pattern : package-mac-*
84+ merge-multiple : true
8085
81- - run : tar xzf fstar* .tar.gz
86+ - run : tar xzf fstar-Darwin-$(uname -m) .tar.gz
8287
8388 - name : Smoke test
8489 run : |
8590 ./fstar/bin/fstar.exe --admit_smt_queries true fstar/lib/fstar/ulib/Prims.fst -f
86- echo -e "module A\let _ = assert (forall x. 1 + x*x > 0)" > A.fst
91+ echo -e "module A\nlet _ = assert (forall x. 1 + x*x > 0)" > A.fst
8792 ./fstar/bin/fstar.exe --admit_smt_queries true A.fst
8893 echo -e "module B\n#lang-pulse\nopen Pulse\nfn test (x:int) returns int { (x+1); }" > B.fst
8994 ./fstar/bin/fstar.exe --admit_smt_queries true B.fst
Original file line number Diff line number Diff line change 3737
3838 - name : Smoke test
3939 run : |
40- echo -e "module A\let _ = assert (forall x. 1 + x*x > 0)" > A.fst
40+ echo -e "module A\nlet _ = assert (forall x. 1 + x*x > 0)" > A.fst
4141 eval $(opam env) && fstar.exe A.fst
4242 echo -e "module B\n#lang-pulse\nopen Pulse\nfn test (x:int) returns int { (x+1); }" > B.fst
4343 eval $(opam env) && fstar.exe B.fst
You can’t perform that action at this time.
0 commit comments