Skip to content

Commit 085a6fc

Browse files
committed
ci: test against latest Coq and Rocq
Signed-off-by: Yishuai Li <yishuai.li@pingcap.com>
1 parent ab051ac commit 085a6fc

File tree

3 files changed

+26
-13
lines changed

3 files changed

+26
-13
lines changed

.github/workflows/docker-action.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@ jobs:
2222
- 'coqorg/coq:8.16'
2323
- 'coqorg/coq:8.17'
2424
- 'coqorg/coq:8.18'
25-
- 'coqorg/coq:dev'
25+
- 'coqorg/coq:8.19'
26+
- 'coqorg/coq:8.20'
27+
- 'rocq/rocq-prover:9.0'
28+
- 'rocq/rocq-prover:9.1'
29+
- 'rocq/rocq-prover:dev'
2630
fail-fast: false
2731
steps:
28-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
2933
- uses: coq-community/docker-coq-action@v1
3034
with:
3135
opam_file: 'coq-http.opam'

README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Follow the instructions on https://github.com/coq-community/templates to regener
66

77
[![Docker CI][docker-action-shield]][docker-action-link]
88

9-
[docker-action-shield]: https://github.com/liyishuai/coq-http/workflows/Docker%20CI/badge.svg?branch=master
10-
[docker-action-link]: https://github.com/liyishuai/coq-http/actions?query=workflow:"Docker%20CI"
9+
[docker-action-shield]: https://github.com/liyishuai/coq-http/actions/workflows/docker-action.yml/badge.svg?branch=master
10+
[docker-action-link]: https://github.com/liyishuai/coq-http/actions/workflows/docker-action.yml
1111

1212

1313

@@ -17,18 +17,18 @@ HTTP specification in Coq, testable and verifiable
1717
## Meta
1818

1919
- Author(s):
20-
- Yishuai Li [<img src="https://zenodo.org/static/img/orcid.svg" height="14px" alt="ORCID logo" />](https://orcid.org/0000-0002-5728-5903)
21-
- Li-yao Xia [<img src="https://zenodo.org/static/img/orcid.svg" height="14px" alt="ORCID logo" />](https://orcid.org/0000-0003-2673-4400)
22-
- Yao Li [<img src="https://zenodo.org/static/img/orcid.svg" height="14px" alt="ORCID logo" />](https://orcid.org/0000-0001-8720-883X)
20+
- Yishuai Li [<img src="https://zenodo.org/static/images/orcid.svg" height="14px" alt="ORCID logo" />](https://orcid.org/0000-0002-5728-5903)
21+
- Li-yao Xia [<img src="https://zenodo.org/static/images/orcid.svg" height="14px" alt="ORCID logo" />](https://orcid.org/0000-0003-2673-4400)
22+
- Yao Li [<img src="https://zenodo.org/static/images/orcid.svg" height="14px" alt="ORCID logo" />](https://orcid.org/0000-0001-8720-883X)
2323
- Azzam Althagafi
24-
- Benjamin C. Pierce [<img src="https://zenodo.org/static/img/orcid.svg" height="14px" alt="ORCID logo" />](https://orcid.org/0000-0001-7839-1636)
24+
- Benjamin C. Pierce [<img src="https://zenodo.org/static/images/orcid.svg" height="14px" alt="ORCID logo" />](https://orcid.org/0000-0001-7839-1636)
2525
- License: [Mozilla Public License 2.0](LICENSE)
26-
- Compatible Coq versions: 8.14 or later
26+
- Compatible Rocq/Coq versions: 8.14 or later
2727
- Additional dependencies:
2828
- [OCamlbuild](https://github.com/ocaml/ocamlbuild)
2929
- [QuickChick](https://github.com/QuickChick/QuickChick/)
3030
- [AsyncTest](https://github.com/liyishuai/coq-async-test)
31-
- Coq namespace: `HTTP`
31+
- Rocq/Coq namespace: `HTTP`
3232
- Related publication(s):
3333
- [From C to Interaction Trees: Specifying, Verifying, and Testing a Networked Server](https://doi.org/10.1145/3293880.3294106) doi:[10.1145/3293880.3294106](https://doi.org/10.1145/3293880.3294106)
3434
- [Model-Based Testing of Networked Applications](https://doi.org/10.1145/3460319.3464798) doi:[10.1145/3460319.3464798](https://doi.org/10.1145/3460319.3464798)
@@ -41,15 +41,19 @@ The easiest way to install the latest released version of coq-http
4141
is via [OPAM](https://opam.ocaml.org/doc/Install.html):
4242

4343
```shell
44-
opam repo add coq-released https://coq.inria.fr/opam/released
44+
opam repo add rocq-released https://rocq-prover.org/opam/released
4545
opam install coq-http
4646
```
4747

48-
To instead build and install manually, do:
48+
To instead build and install manually, you need to make sure that all the
49+
libraries this development depends on are installed. The easiest way to do that
50+
is still to rely on opam:
4951

5052
``` shell
5153
git clone https://github.com/liyishuai/coq-http.git
5254
cd coq-http
55+
opam repo add rocq-released https://rocq-prover.org/opam/released
56+
opam install --deps-only .
5357
make # or make -j <number-of-cores-on-your-machine>
5458
make install
5559
```

meta.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ keywords:
4949
- name: extraction
5050
- name: reactive systems
5151
namespace: HTTP
52-
opam-file-maintainer: 'Yishuai Li <liyishuai.lys@alibaba-inc.com>'
52+
opam-file-maintainer: 'Yishuai Li <yishuai.li@pingcap.com>'
5353
supported_coq_versions:
5454
text: 8.14 or later
5555
opam: '{ >= "8.14~" }'
@@ -59,6 +59,11 @@ tested_coq_opam_versions:
5959
- version: '8.16'
6060
- version: '8.17'
6161
- version: '8.18'
62+
- version: '8.19'
63+
- version: '8.20'
64+
tested_rocq_opam_versions:
65+
- version: '9.0'
66+
- version: '9.1'
6267
- version: 'dev'
6368
action_appendix: |2-
6469
export: 'OPAMWITHTEST'

0 commit comments

Comments
 (0)