| 1 |
########################################################################## |
| 2 |
## # The Rocq Prover / The Rocq Development Team ## |
| 3 |
## v # Copyright INRIA, CNRS and contributors ## |
| 4 |
## <O___,, # (see version control and CREDITS file for authors & dates) ## |
| 5 |
## \VV/ ############################################################### |
| 6 |
## // # This file is distributed under the terms of the ## |
| 7 |
## # GNU Lesser General Public License Version 2.1 ## |
| 8 |
## # (see LICENSE file for the text of the license) ## |
| 9 |
########################################################################## |
| 10 |
|
| 11 |
CI_PLATFORM_FULL= \ |
| 12 |
ci-itauto \ |
| 13 |
ci-aac_tactics \ |
| 14 |
ci-bignums \ |
| 15 |
ci-coq_dpdgraph \ |
| 16 |
ci-coquelicot \ |
| 17 |
ci-corn \ |
| 18 |
ci-coqprime \ |
| 19 |
ci-elpi \ |
| 20 |
ci-hb \ |
| 21 |
ci-ext_lib \ |
| 22 |
ci-equations \ |
| 23 |
ci-flocq \ |
| 24 |
ci-coqhammer \ |
| 25 |
ci-hott \ |
| 26 |
ci-iris \ |
| 27 |
ci-math_classes \ |
| 28 |
ci-mathcomp \ |
| 29 |
ci-mathcomp_word \ |
| 30 |
ci-mczify \ |
| 31 |
ci-algebra_tactics \ |
| 32 |
ci-finmap \ |
| 33 |
ci-bigenough \ |
| 34 |
ci-analysis \ |
| 35 |
ci-analysis_stdlib \ |
| 36 |
ci-menhir \ |
| 37 |
ci-mtac2 \ |
| 38 |
ci-paramcoq \ |
| 39 |
ci-quickchick \ |
| 40 |
ci-reduction_effects \ |
| 41 |
ci-relation_algebra \ |
| 42 |
ci-simple_io \ |
| 43 |
ci-stdlib \ |
| 44 |
ci-unicoq |
| 45 |
|
| 46 |
CI_TARGETS= \ |
| 47 |
$(CI_PLATFORM_FULL) \ |
| 48 |
ci-argosy \ |
| 49 |
ci-async_test \ |
| 50 |
ci-atbr \ |
| 51 |
ci-autosubst \ |
| 52 |
ci-autosubst_ocaml \ |
| 53 |
ci-bbv \ |
| 54 |
ci-bedrock2 \ |
| 55 |
ci-bedrock2_examples \ |
| 56 |
ci-category_theory \ |
| 57 |
ci-ceres \ |
| 58 |
ci-coinduction \ |
| 59 |
ci-color \ |
| 60 |
ci-compcert \ |
| 61 |
ci-coqtail \ |
| 62 |
ci-coqutil \ |
| 63 |
ci-cross_crypto \ |
| 64 |
ci-coq_lsp \ |
| 65 |
ci-coq_performance_tests \ |
| 66 |
ci-coq_tools \ |
| 67 |
ci-deriving \ |
| 68 |
ci-elpi_test \ |
| 69 |
ci-hb_test \ |
| 70 |
ci-engine_bench \ |
| 71 |
ci-equations_test \ |
| 72 |
ci-fcsl_pcm \ |
| 73 |
ci-fiat_crypto \ |
| 74 |
ci-fiat_crypto_legacy \ |
| 75 |
ci-fiat_crypto_ocaml \ |
| 76 |
ci-fiat_parsers \ |
| 77 |
ci-fourcolor \ |
| 78 |
ci-http \ |
| 79 |
ci-itree \ |
| 80 |
ci-itree_io \ |
| 81 |
ci-jasmin \ |
| 82 |
ci-json \ |
| 83 |
ci-kami \ |
| 84 |
ci-lean_importer \ |
| 85 |
ci-ltac2_compiler \ |
| 86 |
ci-mathcomp_test \ |
| 87 |
ci-metarocq \ |
| 88 |
ci-neural_net_interp \ |
| 89 |
ci-oddorder \ |
| 90 |
ci-paco \ |
| 91 |
ci-parsec \ |
| 92 |
ci-perennial \ |
| 93 |
ci-quickchick_test \ |
| 94 |
ci-refman \ |
| 95 |
ci-rewriter \ |
| 96 |
ci-riscv_coq \ |
| 97 |
ci-rupicola \ |
| 98 |
ci-sf \ |
| 99 |
ci-smtcoq \ |
| 100 |
ci-smtcoq_trakt \ |
| 101 |
ci-stalmarck \ |
| 102 |
ci-stdlib_doc \ |
| 103 |
ci-stdlib_test \ |
| 104 |
ci-tactician \ |
| 105 |
ci-tlc \ |
| 106 |
ci-trakt \ |
| 107 |
ci-unimath \ |
| 108 |
ci-verdi_raft \ |
| 109 |
ci-vsrocq \ |
| 110 |
ci-vst \ |
| 111 |
ci-waterproof |
| 112 |
|
| 113 |
CI_VIRTUAL_TARGETS= \ |
| 114 |
ci-elpi_hb \ |
| 115 |
ci-platform_full |
| 116 |
|
| 117 |
.PHONY: ci-all ci-update ci-reset $(CI_TARGETS) $(CI_VIRTUAL_TARGETS) |
| 118 |
|
| 119 |
ci-help: |
| 120 |
echo '*** Coq CI system, please specify a target to build.' |
| 121 |
false |
| 122 |
|
| 123 |
ci-all: $(CI_TARGETS) |
| 124 |
|
| 125 |
ci-argosy: ci-stdlib |
| 126 |
|
| 127 |
ci-atbr: ci-stdlib |
| 128 |
|
| 129 |
ci-bbv: ci-stdlib |
| 130 |
|
| 131 |
ci-bignums: ci-stdlib |
| 132 |
|
| 133 |
ci-category_theory: ci-equations |
| 134 |
|
| 135 |
ci-coinduction: ci-stdlib |
| 136 |
|
| 137 |
ci-color: ci-bignums |
| 138 |
|
| 139 |
ci-lean_importer: ci-stdlib |
| 140 |
|
| 141 |
ci-mathcomp: ci-elpi_hb |
| 142 |
|
| 143 |
ci-coqprime: ci-bignums |
| 144 |
ci-coquelicot: ci-mathcomp ci-stdlib |
| 145 |
ci-deriving: ci-mathcomp ci-stdlib |
| 146 |
ci-math_classes: ci-bignums |
| 147 |
|
| 148 |
ci-coqhammer: ci-stdlib |
| 149 |
|
| 150 |
ci-coq_dpdgraph: ci-stdlib |
| 151 |
|
| 152 |
ci-coq_performance_tests: ci-stdlib |
| 153 |
|
| 154 |
ci-coq_tools: ci-stdlib |
| 155 |
|
| 156 |
ci-corn: ci-math_classes ci-elpi |
| 157 |
|
| 158 |
ci-cross_crypto: ci-stdlib |
| 159 |
|
| 160 |
ci-mtac2: ci-unicoq ci-stdlib |
| 161 |
|
| 162 |
ci-coqutil: ci-stdlib |
| 163 |
ci-kami: ci-stdlib |
| 164 |
ci-rewriter: ci-stdlib |
| 165 |
ci-riscv_coq: ci-coqutil |
| 166 |
ci-bedrock2: ci-coqutil ci-riscv_coq ci-kami |
| 167 |
ci-bedrock2_examples: ci-bedrock2 |
| 168 |
ci-rupicola: ci-bedrock2 ci-coqutil |
| 169 |
ci-fiat_crypto: ci-coqprime ci-rewriter ci-bedrock2 ci-coqutil ci-rupicola |
| 170 |
ci-fiat_crypto_legacy: ci-coqprime |
| 171 |
ci-fiat_crypto_ocaml: ci-fiat_crypto |
| 172 |
ci-fiat_parsers: ci-stdlib |
| 173 |
|
| 174 |
ci-fourcolor: ci-mathcomp |
| 175 |
ci-oddorder: ci-mathcomp |
| 176 |
ci-fcsl_pcm: ci-mathcomp ci-stdlib |
| 177 |
ci-mczify: ci-mathcomp ci-stdlib |
| 178 |
ci-algebra_tactics: ci-mczify |
| 179 |
ci-mathcomp_test: ci-mathcomp |
| 180 |
ci-mathcomp_word: ci-mathcomp ci-stdlib |
| 181 |
ci-finmap: ci-mathcomp |
| 182 |
ci-bigenough: ci-mathcomp |
| 183 |
ci-analysis: ci-elpi_hb ci-finmap ci-bigenough |
| 184 |
ci-analysis_stdlib: ci-analysis ci-stdlib |
| 185 |
|
| 186 |
ci-hb: ci-elpi |
| 187 |
|
| 188 |
ci-elpi_test: ci-elpi ci-stdlib |
| 189 |
ci-hb_test: ci-hb |
| 190 |
|
| 191 |
ci-trakt: ci-elpi ci-stdlib |
| 192 |
|
| 193 |
ci-engine_bench: ci-stdlib |
| 194 |
|
| 195 |
ci-ext_lib: ci-stdlib |
| 196 |
|
| 197 |
ci-itauto: ci-stdlib |
| 198 |
|
| 199 |
ci-jasmin: ci-mathcomp_word ci-algebra_tactics ci-itree |
| 200 |
|
| 201 |
ci-autosubst: ci-stdlib |
| 202 |
ci-iris: ci-autosubst |
| 203 |
|
| 204 |
ci-simple_io: ci-ext_lib |
| 205 |
ci-quickchick: ci-ext_lib ci-simple_io ci-mathcomp |
| 206 |
ci-quickchick_test: ci-quickchick |
| 207 |
ci-paco: ci-stdlib |
| 208 |
ci-itree: ci-ext_lib ci-paco |
| 209 |
ci-itree_io: ci-itree ci-simple_io |
| 210 |
|
| 211 |
ci-ceres: ci-stdlib |
| 212 |
ci-parsec: ci-ext_lib ci-ceres |
| 213 |
ci-json: ci-parsec ci-menhir |
| 214 |
ci-async_test: ci-itree_io ci-json ci-quickchick |
| 215 |
ci-http: ci-async_test |
| 216 |
|
| 217 |
ci-equations: ci-stdlib |
| 218 |
ci-equations_test: ci-equations |
| 219 |
|
| 220 |
ci-flocq: ci-stdlib |
| 221 |
|
| 222 |
ci-menhir: ci-stdlib |
| 223 |
|
| 224 |
ci-metarocq: ci-equations |
| 225 |
|
| 226 |
ci-neural_net_interp: ci-stdlib |
| 227 |
|
| 228 |
ci-vst: ci-compcert |
| 229 |
|
| 230 |
ci-compcert: ci-menhir ci-flocq |
| 231 |
|
| 232 |
ci-paramcoq: ci-stdlib |
| 233 |
|
| 234 |
ci-perennial: ci-stdlib |
| 235 |
|
| 236 |
ci-aac_tactics: ci-stdlib |
| 237 |
ci-relation_algebra: ci-aac_tactics ci-mathcomp |
| 238 |
|
| 239 |
ci-coq_lsp: ci-stdlib |
| 240 |
|
| 241 |
ci-sf: ci-stdlib |
| 242 |
|
| 243 |
ci-smtcoq: ci-stdlib |
| 244 |
ci-smtcoq_trakt: ci-stdlib ci-trakt |
| 245 |
|
| 246 |
ci-stalmarck: ci-stdlib |
| 247 |
|
| 248 |
ci-stdlib_test: ci-stdlib |
| 249 |
ci-stdlib_doc: ci-stdlib |
| 250 |
|
| 251 |
ci-tlc: ci-stdlib |
| 252 |
|
| 253 |
ci-verdi_raft: ci-stdlib |
| 254 |
|
| 255 |
ci-waterproof: ci-stdlib |
| 256 |
|
| 257 |
ci-refman: ci-mathcomp ci-mczify |
| 258 |
|
| 259 |
# Virtual targets used by the CI to group compilation of rules in a single job |
| 260 |
|
| 261 |
ci-elpi_hb: ci-elpi ci-hb |
| 262 |
|
| 263 |
ci-platform_full: $(CI_PLATFORM_FULL) |
| 264 |
|
| 265 |
# Generic rule, we use make to ease CI integration |
| 266 |
$(CI_TARGETS): ci-%: |
| 267 |
+./dev/ci/ci-wrapper.sh $* |
| 268 |
|
| 269 |
# Helper to update all CI repositories already downloaded |
| 270 |
ci-update: |
| 271 |
./dev/ci/ci-update.sh |
| 272 |
|
| 273 |
# Helper to reset all CI repositories already downloaded |
| 274 |
ci-reset: |
| 275 |
./dev/ci/ci-reset.sh |
| 276 |
|
| 277 |
# if we do eg "make states ci-foo", ci-foo will wait for states |
| 278 |
# if we just do "make ci-foo" it will just run ci-foo |
| 279 |
# (technically the ci-* targets depend on world but it can be |
| 280 |
# convenient to run them with less than world compiled) |
| 281 |
NON_CI_GOALS:=$(strip $(filter-out ci-%,$(MAKECMDGOALS))) |
| 282 |
ifneq (,$(NON_CI_GOALS)) |
| 283 |
$(CI_TARGETS): $(NON_CI_GOALS) |
| 284 |
$(CI_VIRTUAL_TARGETS): $(NON_CI_GOALS) |
| 285 |
endif |
| 286 |
|
| 287 |
# For emacs: |
| 288 |
# Local Variables: |
| 289 |
# mode: makefile |
| 290 |
# End: |