Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .travis.yml.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ jobs:
- NJOBS=2
<<: *OPAM
{{/ tested_coq_opam_versions }}
# Test supported versions of Rocq via OPAM
{{# tested_rocq_opam_versions }}
- env:
- COQ_IMAGE={{ repo }}{{^ repo }}rocq/rocq-prover{{/ repo }}:{{ version }}
- PACKAGE={{ opam_name }}{{^ opam_name }}coq-{{ shortname }}{{/ opam_name }}.{{ opam-file-version }}{{^ opam-file-version }}dev{{/ opam-file-version }}
- NJOBS=2
<<: *OPAM
{{/ tested_rocq_opam_versions }}

{{# extracted }}
# Test extracted supported versions of Coq via OPAM
Expand Down
5 changes: 5 additions & 0 deletions config.yml.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,8 @@ workflows:
name: "{{ repo }}{{^ repo }}Coq{{/ repo }} {{ version }}"
coq: "{{ repo }}{{^ repo }}coqorg/coq{{/ repo }}:{{ version }}"
{{/ tested_coq_opam_versions }}
{{# tested_rocq_opam_versions }}
- build:
name: "{{ repo }}{{^ repo }}Rocq{{/ repo }} {{ version }}"
coq: "{{ repo }}{{^ repo }}rocq/rocq-prover{{/ repo }}:{{ version }}"
{{/ tested_rocq_opam_versions }}
3 changes: 3 additions & 0 deletions docker-action.yml.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
{{# tested_coq_opam_versions }}
- '{{ repo }}{{^ repo }}coqorg/coq{{/ repo }}:{{ version }}'
{{/ tested_coq_opam_versions }}
{{# tested_rocq_opam_versions }}
- '{{ repo }}{{^ repo }}rocq/rocq-prover{{/ repo }}:{{ version }}'
{{/ tested_rocq_opam_versions }}
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down
28 changes: 28 additions & 0 deletions ref.yml
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,34 @@ fields:
- .travis.yml
- docker-action.yml
- config.yml
- tested_rocq_opam_versions:
type: list
item_fields:
- version:
required: true
description: >
Docker tag supported by rocq/rocq-prover:
https://hub.docker.com/r/rocq/rocq-prover/tags
Quote the strings, otherwise '9.10' becomes '9.1'.
examples:
- "9.0"
- "dev-native-flambda"
- repo:
required: false
description: >
Docker repository supporting the given docker tag.
Defaults to 'rocq/rocq-prover'.
examples:
- "mathcomp/mathcomp"
- "mathcomp/mathcomp-dev"
used:
- .travis.yml
- docker-action.yml
- config.yml
used:
- .travis.yml
- docker-action.yml
- config.yml
- ci_cron_schedule:
required: false
description: >
Expand Down