File tree 7 files changed +20
-11
lines changed
7 files changed +20
-11
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,15 @@ jobs:
19
19
image :
20
20
- ' coqorg/coq:8.9'
21
21
- ' coqorg/coq:8.11'
22
- - ' coqorg/coq:8.12'
22
+ - ' coqorg/coq:8.12-ocaml-4.10-flambda '
23
23
- ' coqorg/coq:8.13'
24
24
- ' coqorg/coq:8.14'
25
25
- ' coqorg/coq:8.15'
26
26
- ' coqorg/coq:8.16'
27
27
- ' coqorg/coq:8.17'
28
28
- ' coqorg/coq:8.18'
29
29
- ' coqorg/coq:8.19'
30
+ - ' coqorg/coq:8.20'
30
31
- ' coqorg/coq:dev'
31
32
fail-fast : false
32
33
steps :
37
38
with :
38
39
opam_file : ' coq-ext-lib.opam'
39
40
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
40
46
after_script : |
41
47
startGroup "Test dependants"
42
48
PINS=$(opam list -s --pinned --columns=package | xargs | tr ' ' ,)
50
56
set -o pipefail # recommended if the script uses pipes
51
57
52
58
startGroup "Generate Coqdoc"
53
- make -j`nproc` coqdoc
59
+ make -j`nproc` coqdoc || echo "Failed to generate Coqdoc"
54
60
endGroup
55
61
before_script : |
56
62
startGroup "Workaround permission issue"
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ opam_name: coq-ext-lib
5
5
organization : coq-community
6
6
community : true
7
7
action : true
8
+ ci_extra_dev : true
8
9
ci_test_dependants : true
9
10
submodule : true
10
11
@@ -34,14 +35,15 @@ supported_coq_versions:
34
35
tested_coq_opam_versions :
35
36
- version : ' 8.9'
36
37
- version : ' 8.11'
37
- - version : ' 8.12'
38
+ - version : ' 8.12-ocaml-4.10-flambda '
38
39
- version : ' 8.13'
39
40
- version : ' 8.14'
40
41
- version : ' 8.15'
41
42
- version : ' 8.16'
42
43
- version : ' 8.17'
43
44
- version : ' 8.18'
44
45
- version : ' 8.19'
46
+ - version : ' 8.20'
45
47
- version : ' dev'
46
48
47
49
make_target : theories
@@ -52,7 +54,7 @@ action_appendix: |2-
52
54
set -o pipefail # recommended if the script uses pipes
53
55
54
56
startGroup "Generate Coqdoc"
55
- make -j`nproc` coqdoc
57
+ make -j`nproc` coqdoc || echo "Failed to generate Coqdoc"
56
58
endGroup
57
59
before_script: |
58
60
startGroup "Workaround permission issue"
@@ -67,6 +69,7 @@ action_appendix: |2-
67
69
if: ${{ always() }}
68
70
run: sudo chown -R 1001:116 .
69
71
- uses: actions/upload-artifact@v4
72
+ continue-on-error: true
70
73
with:
71
74
name: coqdoc
72
75
path: html
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Section CoMonadLaws.
10
10
Variable m : Type -> Type.
11
11
Variable C : CoMonad m.
12
12
13
- Class CoMonadLaws : Type : =
13
+ Class CoMonadLaws :=
14
14
{
15
15
extend_extract: forall (A B:Type),
16
16
extend (B:=A) extract = id ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Section foldable.
24
24
25
25
Variable Add : A -> T -> T -> Prop.
26
26
27
- Class FoldableOk : Type : =
27
+ Class FoldableOk :=
28
28
{ fold_ind : forall m (M : Monoid m) (ML : MonoidLaws M) (P : m -> Prop) f u,
29
29
P (monoid_unit M) ->
30
30
(forall x y z,
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Section MonadLaws.
39
39
Section with_state.
40
40
Context {S : Type}.
41
41
42
- Class MonadStateLaws (MS : MonadState S m) : Type : =
42
+ Class MonadStateLaws (MS : MonadState S m) :=
43
43
{ get_put : bind get put = ret tt :> m unit
44
44
; put_get : forall x : S,
45
45
bind (put x) (fun _ => get) = bind (put x) (fun _ => ret x) :> m S
@@ -51,7 +51,7 @@ Section MonadLaws.
51
51
bind get (fun _ => aM) = aM
52
52
}.
53
53
54
- Class MonadReaderLaws (MR : MonadReader S m) : Type : =
54
+ Class MonadReaderLaws (MR : MonadReader S m) :=
55
55
{ ask_local : forall f : S -> S,
56
56
local f ask = bind ask (fun x => ret (f x))
57
57
; local_bind : forall {A B} (aM : m A) (f : S -> S) (g : A -> m B),
@@ -64,7 +64,7 @@ Section MonadLaws.
64
64
65
65
End with_state.
66
66
67
- Class MonadZeroLaws (MZ : MonadZero m) : Type : =
67
+ Class MonadZeroLaws (MZ : MonadZero m) :=
68
68
{ bind_zero : forall {A B} (f : A -> m B),
69
69
bind mzero f = mzero
70
70
}.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Section Monoid.
13
13
; monoid_unit : S
14
14
}.
15
15
16
- Class MonoidLaws@{} (M : Monoid) : Type : =
16
+ Class MonoidLaws@{} (M : Monoid) :=
17
17
{ monoid_assoc : Associative M.(monoid_plus) eq
18
18
; monoid_lunit : LeftUnit M.(monoid_plus) M.(monoid_unit) eq
19
19
; monoid_runit : RightUnit M.(monoid_plus) M.(monoid_unit) eq
You can’t perform that action at this time.
0 commit comments