File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 with :
3636 branch : ${{ matrix.alpine }}
3737 extra-repositories : https://dl-cdn.alpinelinux.org/alpine/edge/testing
38- packages : rocq dune bash python3 graphviz make
38+ packages : rocq dune bash python3 graphviz make findutils diffutils grep rsync
3939 - name : ' dune build @stdlib-html # depends on stdlib'
4040 shell : alpine.sh {0}
4141 run : ' dune build @stdlib-html # depends on stdlib'
4949 - name : Check for duplicate files
5050 shell : alpine.sh {0}
5151 run : dev/tools/check-duplicate-files.sh
52- - name : ' COQEXTRAFLAGS=... make -C test-suite - j -k'
52+ - name : ' make -j -k test-suite '
5353 shell : alpine.sh {0}
54- run : ' COQEXTRAFLAGS="-Q _build/install/default/lib/coq/user-contrib/Stdlib/ Stdlib" make -C test-suite -j -k'
55- continue-on-error : true
54+ run : ' make -j -k test-suite'
Original file line number Diff line number Diff line change 11DUNE =dev/with-rocq-wrap.sh dune
22
3- .PHONY : clean all install dune dune-install
3+ .PHONY : clean all install dune dune-install test-suite
44
55all install :
66 +$(MAKE ) -j -C theories $@
@@ -24,5 +24,11 @@ refman-html:
2424stdlib-html :
2525 $(DUNE ) build --root . @stdlib-html
2626
27+ test-suite :
28+ test -d _build/default/theories/
29+ +COQEXTRAFLAGS=" -Q ../_build/default/theories/ Stdlib" \
30+ COQCHKEXTRAFLAGS=" $$ COQEXTRAFLAGS" \
31+ $(MAKE ) -C test-suite
32+
2733clean :
2834 +$(MAKE ) -C theories clean
Original file line number Diff line number Diff line change 3030 export FINDLIB_SEP= :
3131endif
3232
33+ # these variables are meant to be overridden if you want to add *extra* flags
3334COQEXTRAFLAGS? =
35+ COQCHKEXTRAFLAGS? =
36+
3437COQFLAGS? =$(COQEXTRAFLAGS )
38+ COQCHKFLAGS? =-silent -o $(COQCHKEXTRAFLAGS )
3539
3640coqc := rocq c -q -R prerequisite TestSuite $(COQFLAGS )
37- coqchk := rocqchk -R prerequisite TestSuite
41+ coqchk := rocqchk -R prerequisite TestSuite $( COQCHKFLAGS )
3842coqdoc := rocq doc
3943coqtop := rocq repl -q -test-mode -R prerequisite TestSuite
4044
You can’t perform that action at this time.
0 commit comments