Skip to content

Commit 1c47936

Browse files
authored
Merge pull request #91 from coq-community/ci/v8.20
chore: Adapt meta.yml to v8.20 & Add dedicated CI test using coqorg/base
2 parents da802e5 + 2f78cc1 commit 1c47936

File tree

4 files changed

+24
-14
lines changed

4 files changed

+24
-14
lines changed

.github/workflows/docker-action.yml

+14-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
# - cron: '0 4 * * *'
88
push:
99
branches:
10-
- master
10+
- v8.20
1111
pull_request:
1212
branches:
1313
- '**'
@@ -18,20 +18,27 @@ jobs:
1818
runs-on: ubuntu-latest
1919
strategy:
2020
matrix:
21+
coq_version:
22+
- '8.20.dev'
2123
image:
22-
- 'coqorg/coq:dev'
24+
# we can't use coqorg/coq images to test bignums
25+
# since these images already include coq-bignums
26+
- 'coqorg/base:4.13.1-flambda'
2327
fail-fast: false
2428
steps:
25-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v3
2630
- uses: coq-community/docker-coq-action@v1
2731
with:
2832
opam_file: 'coq-bignums.opam'
2933
custom_image: ${{ matrix.image }}
3034
install: |
31-
startGroup "Install dependencies"
32-
# sudo apt-get update -y -q
33-
opam remove -y coq-bignums # remove coq-bignums already in image
34-
opam pin add -n -y -k path $PACKAGE $WORKDIR
35+
startGroup "Install coq and dependencies"
36+
sudo apt-get update -y -q
37+
opam remove -y coq-bignums || true # remove coq-bignums if ever in image
38+
opam repository add --all-switches --set-default coq-extra-dev https://coq.inria.fr/opam/extra-dev # docker-coq
39+
opam repository add --all-switches --set-default coq-core-dev https://coq.inria.fr/opam/core-dev # docker-coq
40+
opam pin add -n -y -k version coq ${{ matrix.coq_version }} # docker-coq
41+
opam pin add -n -y -k path $PACKAGE.dev $WORKDIR
3542
opam update -y
3643
opam install --confirm-level=unsafe-yes -j 2 $PACKAGE --deps-only
3744
endGroup

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Follow the instructions on https://github.com/coq-community/templates to regener
99
[![Code of Conduct][conduct-shield]][conduct-link]
1010
[![Zulip][zulip-shield]][zulip-link]
1111

12-
[docker-action-shield]: https://github.com/coq-community/bignums/actions/workflows/docker-action.yml/badge.svg?branch=master
12+
[docker-action-shield]: https://github.com/coq-community/bignums/actions/workflows/docker-action.yml/badge.svg?branch=v8.20
1313
[docker-action-link]: https://github.com/coq-community/bignums/actions/workflows/docker-action.yml
1414

1515
[contributing-shield]: https://img.shields.io/badge/contributions-welcome-%23f7931e.svg

coq-bignums.opam

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
# This file was generated from `meta.yml`, please do not edit manually.
2+
# Follow the instructions on https://github.com/coq-community/templates to regenerate.
3+
14
opam-version: "2.0"
25
maintainer: "[email protected]"
3-
version: "dev"
6+
version: "8.20.dev"
47

58
homepage: "https://github.com/coq-community/bignums"
69
dev-repo: "git+https://github.com/coq-community/bignums.git"
@@ -19,7 +22,7 @@ install: [
1922
]
2023
depends: [
2124
"ocaml"
22-
"coq" {= "dev"}
25+
"coq" {>= "8.20" & < "8.21~"}
2326
]
2427

2528
tags: [

meta.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ shortname: bignums
44
organization: coq-community
55
community: true
66
action: true
7-
branch: master
7+
branch: v8.20
88

99
synopsis: >-
1010
Bignums, the Coq library of arbitrarily large numbers
@@ -28,7 +28,7 @@ maintainers:
2828

2929
opam-file-maintainer: [email protected]
3030

31-
opam-file-version: dev
31+
opam-file-version: 8.20.dev
3232

3333
license:
3434
fullname: GNU Lesser General Public License v2.1
@@ -41,10 +41,10 @@ supported_ocaml_versions:
4141

4242
supported_coq_versions:
4343
text: master (use the corresponding branch or release for other Coq versions)
44-
opam: '{= "dev"}'
44+
opam: '{>= "8.20" & < "8.21~"}'
4545

4646
tested_coq_opam_versions:
47-
- version: dev
47+
- version: 8.20
4848

4949
ci_cron_schedule: '0 4 * * *'
5050

0 commit comments

Comments
 (0)