File tree Expand file tree Collapse file tree 7 files changed +20
-11
lines changed Expand file tree Collapse file tree 7 files changed +20
-11
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,15 @@ jobs:
1919 image :
2020 - ' coqorg/coq:8.9'
2121 - ' coqorg/coq:8.11'
22- - ' coqorg/coq:8.12'
22+ - ' coqorg/coq:8.12-ocaml-4.10-flambda '
2323 - ' coqorg/coq:8.13'
2424 - ' coqorg/coq:8.14'
2525 - ' coqorg/coq:8.15'
2626 - ' coqorg/coq:8.16'
2727 - ' coqorg/coq:8.17'
2828 - ' coqorg/coq:8.18'
2929 - ' coqorg/coq:8.19'
30+ - ' coqorg/coq:8.20'
3031 - ' coqorg/coq:dev'
3132 fail-fast : false
3233 steps :
3738 with :
3839 opam_file : ' coq-ext-lib.opam'
3940 custom_image : ${{ matrix.image }}
41+ before_install : |
42+ startGroup "Setup and print opam config"
43+ opam repo -a --set-default add coq-extra-dev https://coq.inria.fr/opam/extra-dev
44+ opam config list; opam repo list; opam list
45+ endGroup
4046 after_script : |
4147 startGroup "Test dependants"
4248 PINS=$(opam list -s --pinned --columns=package | xargs | tr ' ' ,)
5056 set -o pipefail # recommended if the script uses pipes
5157
5258 startGroup "Generate Coqdoc"
53- make -j`nproc` coqdoc
59+ make -j`nproc` coqdoc || echo "Failed to generate Coqdoc"
5460 endGroup
5561 before_script : |
5662 startGroup "Workaround permission issue"
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ opam_name: coq-ext-lib
55organization : coq-community
66community : true
77action : true
8+ ci_extra_dev : true
89ci_test_dependants : true
910submodule : true
1011
@@ -34,14 +35,15 @@ supported_coq_versions:
3435tested_coq_opam_versions :
3536 - version : ' 8.9'
3637 - version : ' 8.11'
37- - version : ' 8.12'
38+ - version : ' 8.12-ocaml-4.10-flambda '
3839 - version : ' 8.13'
3940 - version : ' 8.14'
4041 - version : ' 8.15'
4142 - version : ' 8.16'
4243 - version : ' 8.17'
4344 - version : ' 8.18'
4445 - version : ' 8.19'
46+ - version : ' 8.20'
4547 - version : ' dev'
4648
4749make_target : theories
@@ -52,7 +54,7 @@ action_appendix: |2-
5254 set -o pipefail # recommended if the script uses pipes
5355
5456 startGroup "Generate Coqdoc"
55- make -j`nproc` coqdoc
57+ make -j`nproc` coqdoc || echo "Failed to generate Coqdoc"
5658 endGroup
5759 before_script: |
5860 startGroup "Workaround permission issue"
@@ -67,6 +69,7 @@ action_appendix: |2-
6769 if: ${{ always() }}
6870 run: sudo chown -R 1001:116 .
6971 - uses: actions/upload-artifact@v4
72+ continue-on-error: true
7073 with:
7174 name: coqdoc
7275 path: html
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Section CoMonadLaws.
1010 Variable m : Type -> Type.
1111 Variable C : CoMonad m.
1212
13- Class CoMonadLaws : Type : =
13+ Class CoMonadLaws :=
1414 {
1515 extend_extract: forall (A B:Type),
1616 extend (B:=A) extract = id ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Section foldable.
2424
2525 Variable Add : A -> T -> T -> Prop.
2626
27- Class FoldableOk : Type : =
27+ Class FoldableOk :=
2828 { fold_ind : forall m (M : Monoid m) (ML : MonoidLaws M) (P : m -> Prop) f u,
2929 P (monoid_unit M) ->
3030 (forall x y z,
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Section MonadLaws.
3939 Section with_state.
4040 Context {S : Type}.
4141
42- Class MonadStateLaws (MS : MonadState S m) : Type : =
42+ Class MonadStateLaws (MS : MonadState S m) :=
4343 { get_put : bind get put = ret tt :> m unit
4444 ; put_get : forall x : S,
4545 bind (put x) (fun _ => get) = bind (put x) (fun _ => ret x) :> m S
@@ -51,7 +51,7 @@ Section MonadLaws.
5151 bind get (fun _ => aM) = aM
5252 }.
5353
54- Class MonadReaderLaws (MR : MonadReader S m) : Type : =
54+ Class MonadReaderLaws (MR : MonadReader S m) :=
5555 { ask_local : forall f : S -> S,
5656 local f ask = bind ask (fun x => ret (f x))
5757 ; local_bind : forall {A B} (aM : m A) (f : S -> S) (g : A -> m B),
@@ -64,7 +64,7 @@ Section MonadLaws.
6464
6565 End with_state.
6666
67- Class MonadZeroLaws (MZ : MonadZero m) : Type : =
67+ Class MonadZeroLaws (MZ : MonadZero m) :=
6868 { bind_zero : forall {A B} (f : A -> m B),
6969 bind mzero f = mzero
7070 }.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Section Monoid.
1313 ; monoid_unit : S
1414 }.
1515
16- Class MonoidLaws@{} (M : Monoid) : Type : =
16+ Class MonoidLaws@{} (M : Monoid) :=
1717 { monoid_assoc : Associative M.(monoid_plus) eq
1818 ; monoid_lunit : LeftUnit M.(monoid_plus) M.(monoid_unit) eq
1919 ; monoid_runit : RightUnit M.(monoid_plus) M.(monoid_unit) eq
You can’t perform that action at this time.
0 commit comments