File tree 3 files changed +61
-0
lines changed
3 files changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ pull_request :
7
+ branches : [ "main" ]
8
+
9
+ env :
10
+ CARGO_TERM_COLOR : always
11
+
12
+ jobs :
13
+ build :
14
+
15
+ runs-on : ubuntu-latest
16
+
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+ - name : Download Git submodules
20
+ run : git submodule update --init --recursive
21
+ - uses : coq-community/docker-coq-action@v1
22
+ with :
23
+ custom_image : coqorg/coq:8.20-ocaml-4.14-flambda
24
+ custom_script : |
25
+ startGroup "Build"
26
+ sudo chown -R $(whoami) .
27
+ make
28
+ endGroup
Original file line number Diff line number Diff line change @@ -43,3 +43,7 @@ time-of-build-after.log
43
43
time-of-build-before.log
44
44
time-of-build-both.log
45
45
time-of-build-pretty.log
46
+
47
+ # additional files
48
+ CoqMakefile
49
+ CoqMakefile.conf
Original file line number Diff line number Diff line change
1
+ .PHONY : default all clean clean-util distclean
2
+
3
+ VFILES := $(shell find -L . -name "* .v" | sort)
4
+
5
+ default : all
6
+
7
+ # We use the '@' to avoid displaying this command as the parameters list is
8
+ # very long.
9
+ CoqMakefile : $(VFILES )
10
+ @coq_makefile -f _CoqProject -o $@ $(VFILES )
11
+
12
+ MAKECOQ := +$(MAKE ) -f CoqMakefile
13
+
14
+ % .vo : CoqMakefile % .v
15
+ $(MAKECOQ ) $@
16
+
17
+ all : CoqMakefile
18
+ $(MAKECOQ ) all
19
+
20
+ clean-coq : CoqMakefile
21
+ $(MAKECOQ ) clean
22
+
23
+ clean-util :
24
+ rm -f * CoqMakefile*
25
+
26
+ clean : clean-coq
27
+ $(MAKE ) clean-util # done separately to enforce order
28
+
29
+ distclean : clean
You can’t perform that action at this time.
0 commit comments