@@ -4,7 +4,7 @@ active: true
44docker_repo : ' rocq/rocq-prover'
55vars :
66 # TODO: Update when appropriate
7- rocq_latest : ' 8.20.1 '
7+ rocq_latest : ' 9.0.0 '
88args :
99 BUILD_DATE : ' {defaults[build_date]}'
1010# propagate:
@@ -101,55 +101,67 @@ images:
101101 - tag : ' {matrix[rocq]}-native-flambda'
102102 if : ' {matrix[base]} != {matrix[default]}'
103103 # ###############################################################
104- # # rocq/rocq-prover:9.0-rc1
104+ # # rocq/rocq-prover:9.0.0
105+ # # rocq/rocq-prover:latest
105106 - matrix :
106107 default : ['4.14.2-flambda']
107108 # only *-flambda switches
108109 base : ['4.14.2-flambda', '4.13.1-flambda', '4.12.1-flambda', '4.09.1-flambda']
109- rocq : ['9.0-rc1 ']
110- build : &build_rocq_alpha
110+ rocq : ['9.0.0 ']
111+ build : &build_rocq_stable
111112 context : ' ./rocq'
112- dockerfile : ' ./beta /Dockerfile'
113+ dockerfile : ' ./stable /Dockerfile'
113114 keywords :
114- - ' {matrix[rocq][%- *]}'
115+ - ' {matrix[rocq][%. *]}'
115116 args :
116117 BASE_TAG : ' rocq_{matrix[base]}'
117- ROCQ_VERSION : ' {matrix[rocq][//-/+] }'
118- VCS_REF : ' V{matrix[rocq][//-/+] }'
118+ ROCQ_VERSION : ' {matrix[rocq]}'
119+ VCS_REF : ' V{matrix[rocq]}'
119120 ROCQ_EXTRA_OPAM : ' rocq-bignums'
120121 # +- rocq-native
121122 tags :
122123 # full tag
123124 - tag : ' {matrix[rocq]}-ocaml-{matrix[base]}'
124125 # abbreviated tag (*-ocaml-4.14-flambda)
125- - tag : ' {matrix[rocq][%- *]}-ocaml-{matrix[base][%.*-*]}-flambda'
126- # default tag (9.0-alpha )
126+ - tag : ' {matrix[rocq][%. *]}-ocaml-{matrix[base][%.*-*]}-flambda'
127+ # default tag (9.0.0 )
127128 - tag : ' {matrix[rocq]}'
128129 if : ' {matrix[base]} == {matrix[default]}'
129130 # abbreviated tag (9.0)
130- - tag : ' {matrix[rocq][%- *]}'
131+ - tag : ' {matrix[rocq][%. *]}'
131132 if : ' {matrix[base]} == {matrix[default]}'
132- # rocq/rocq-prover:9.0-rc1-native
133+ # latest-abbreviated tag (*-ocaml-4.14-flambda)
134+ - tag : ' latest-ocaml-{matrix[base][%.*-*]}-flambda'
135+ if :
136+ - ' {matrix[rocq]} == {vars[rocq_latest]}'
137+ # latest tag
138+ - tag : ' latest'
139+ if :
140+ - ' {matrix[rocq]} == {vars[rocq_latest]}'
141+ - ' {matrix[base]} == {matrix[default]}'
142+ # # rocq/rocq-prover:9.0.0-native
143+ # # rocq/rocq-prover:latest-native-flambda
144+ # # rocq/rocq-prover:latest-native
133145 - matrix :
134146 default : ['4.14.2']
135147 base : ['4.14.2', '4.14.2-flambda']
136- rocq : ['9.0-rc1 ']
137- build :
138- << : *build_rocq_alpha
148+ rocq : ['9.0.0 ']
149+ build : &build_rocq_stable_native
150+ << : *build_rocq_stable
139151 args :
140152 BASE_TAG : ' rocq_{matrix[base]}'
141- ROCQ_VERSION : ' {matrix[rocq][//-/+] }'
142- VCS_REF : ' V{matrix[rocq][//-/+] }'
143- ROCQ_EXTRA_OPAM : ' rocq-native rocq-bignums'
153+ ROCQ_VERSION : ' {matrix[rocq]}'
154+ VCS_REF : ' V{matrix[rocq]}'
155+ ROCQ_EXTRA_OPAM : ' rocq-native coq-native rocq-bignums'
144156 # +- rocq-native
145157 tags :
146158 # full tag
147159 - tag : ' {matrix[rocq]}-native-ocaml-{matrix[base]}'
148160 # abbreviated tag (*-ocaml-4.14)
149- - tag : ' {matrix[rocq][%- *]}-native-ocaml-{matrix[base][%.*]}'
161+ - tag : ' {matrix[rocq][%. *]}-native-ocaml-{matrix[base][%.*]}'
150162 if : ' {matrix[base]} == {matrix[default]}'
151163 # abbreviated tag (*-ocaml-4.14-flambda)
152- - tag : ' {matrix[rocq][%- *]}-native-ocaml-{matrix[base][%.*-*]}-flambda'
164+ - tag : ' {matrix[rocq][%. *]}-native-ocaml-{matrix[base][%.*-*]}-flambda'
153165 if : ' {matrix[base]} != {matrix[default]}' # -flambda
154166 # default tag (9.0-alpha-native)
155167 - tag : ' {matrix[rocq]}-native'
@@ -158,11 +170,30 @@ images:
158170 - tag : ' {matrix[rocq]}-native-flambda'
159171 if : ' {matrix[base]} != {matrix[default]}' # -flambda
160172 # abbreviated tag (9.0-native)
161- - tag : ' {matrix[rocq][%- *]}-native'
173+ - tag : ' {matrix[rocq][%. *]}-native'
162174 if : ' {matrix[base]} == {matrix[default]}'
163175 # abbreviated tag (9.0-native-flambda)
164- - tag : ' {matrix[rocq][%- *]}-native-flambda'
176+ - tag : ' {matrix[rocq][%. *]}-native-flambda'
165177 if : ' {matrix[base]} != {matrix[default]}' # -flambda
178+ # latest-abbreviated tag (latest-native-ocaml-4.13)
179+ - tag : ' latest-native-ocaml-{matrix[base][%.*]}'
180+ if :
181+ - ' {matrix[rocq]} == {vars[rocq_latest]}'
182+ - ' {matrix[base]} == {matrix[default]}'
183+ # latest-abbreviated tag (latest-native-ocaml-4.13-flambda)
184+ - tag : ' latest-native-ocaml-{matrix[base][%.*]}-flambda'
185+ if :
186+ - ' {matrix[rocq]} == {vars[rocq_latest]}'
187+ - ' {matrix[base]} != {matrix[default]}' # -flambda
188+ # latest tag
189+ - tag : ' latest-native'
190+ if :
191+ - ' {matrix[rocq]} == {vars[rocq_latest]}'
192+ - ' {matrix[base]} == {matrix[default]}'
193+ - tag : ' latest-native-flambda'
194+ if :
195+ - ' {matrix[rocq]} == {vars[rocq_latest]}'
196+ - ' {matrix[base]} != {matrix[default]}' # -flambda
166197 # ###############################################################
167198 # TODO: Uncomment when the v8.21 branch is created
168199 # # coqorg/coq:8.21-alpha
0 commit comments