Skip to content

Commit b9d5901

Browse files
authored
Merge pull request #135 from Durbatuluk1701/rocq_compat
Adding Rocq Opam Version Support
2 parents 7e15aba + 6585b8c commit b9d5901

File tree

4 files changed

+44
-0
lines changed

4 files changed

+44
-0
lines changed

.travis.yml.mustache

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ jobs:
8787
- NJOBS=2
8888
<<: *OPAM
8989
{{/ tested_coq_opam_versions }}
90+
# Test supported versions of Rocq via OPAM
91+
{{# tested_rocq_opam_versions }}
92+
- env:
93+
- COQ_IMAGE={{ repo }}{{^ repo }}rocq/rocq-prover{{/ repo }}:{{ version }}
94+
- PACKAGE={{ opam_name }}{{^ opam_name }}coq-{{ shortname }}{{/ opam_name }}.{{ opam-file-version }}{{^ opam-file-version }}dev{{/ opam-file-version }}
95+
- NJOBS=2
96+
<<: *OPAM
97+
{{/ tested_rocq_opam_versions }}
9098

9199
{{# extracted }}
92100
# Test extracted supported versions of Coq via OPAM

config.yml.mustache

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,8 @@ workflows:
6666
name: "{{ repo }}{{^ repo }}Coq{{/ repo }} {{ version }}"
6767
coq: "{{ repo }}{{^ repo }}coqorg/coq{{/ repo }}:{{ version }}"
6868
{{/ tested_coq_opam_versions }}
69+
{{# tested_rocq_opam_versions }}
70+
- build:
71+
name: "{{ repo }}{{^ repo }}Rocq{{/ repo }} {{ version }}"
72+
coq: "{{ repo }}{{^ repo }}rocq/rocq-prover{{/ repo }}:{{ version }}"
73+
{{/ tested_rocq_opam_versions }}

docker-action.yml.mustache

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
{{# tested_coq_opam_versions }}
2525
- '{{ repo }}{{^ repo }}coqorg/coq{{/ repo }}:{{ version }}'
2626
{{/ tested_coq_opam_versions }}
27+
{{# tested_rocq_opam_versions }}
28+
- '{{ repo }}{{^ repo }}rocq/rocq-prover{{/ repo }}:{{ version }}'
29+
{{/ tested_rocq_opam_versions }}
2730
fail-fast: false
2831
steps:
2932
- uses: actions/checkout@v4

ref.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,34 @@ fields:
477477
- .travis.yml
478478
- docker-action.yml
479479
- config.yml
480+
- tested_rocq_opam_versions:
481+
type: list
482+
item_fields:
483+
- version:
484+
required: true
485+
description: >
486+
Docker tag supported by rocq/rocq-prover:
487+
https://hub.docker.com/r/rocq/rocq-prover/tags
488+
Quote the strings, otherwise '9.10' becomes '9.1'.
489+
examples:
490+
- "9.0"
491+
- "dev-native-flambda"
492+
- repo:
493+
required: false
494+
description: >
495+
Docker repository supporting the given docker tag.
496+
Defaults to 'rocq/rocq-prover'.
497+
examples:
498+
- "mathcomp/mathcomp"
499+
- "mathcomp/mathcomp-dev"
500+
used:
501+
- .travis.yml
502+
- docker-action.yml
503+
- config.yml
504+
used:
505+
- .travis.yml
506+
- docker-action.yml
507+
- config.yml
480508
- ci_cron_schedule:
481509
required: false
482510
description: >

0 commit comments

Comments
 (0)