Skip to content

Commit 936646a

Browse files
committed
ci: Switch to Github Actions
1 parent a51cbf7 commit 936646a

File tree

3 files changed

+64
-95
lines changed

3 files changed

+64
-95
lines changed

.circleci/config.yml

Lines changed: 0 additions & 95 deletions
This file was deleted.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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+
name: Docker CI
4+
5+
on:
6+
push:
7+
branches:
8+
- master
9+
pull_request:
10+
branches:
11+
- '**'
12+
13+
jobs:
14+
build:
15+
# the OS must be GNU/Linux to be able to use the docker-coq-action
16+
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
image:
20+
- 'coqorg/coq:8.12-ocaml-4.11-flambda'
21+
- 'coqorg/coq:8.14-ocaml-4.14-flambda'
22+
- 'coqorg/coq:8.16'
23+
- 'coqorg/coq:8.18'
24+
- 'coqorg/coq:8.20'
25+
- 'rocq/rocq-prover:9.0'
26+
- 'rocq/rocq-prover:dev'
27+
fail-fast: false
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: coq-community/docker-coq-action@v1
31+
with:
32+
opam_file: 'coq-simple-io.opam'
33+
custom_image: ${{ matrix.image }}
34+
after_script: |
35+
startGroup "Test dependants"
36+
PINS=$(opam list -s --pinned --columns=package | xargs | tr ' ' ,)
37+
PACKAGES="coq-itree-io coq-quickchick coq-freespec-ffi coq-bonsai "
38+
for PACKAGE in $PACKAGES
39+
do DEPS_FAILED=false
40+
opam install -y --deps-only $PACKAGE || DEPS_FAILED=true
41+
[ $DEPS_FAILED == true ] || opam install -t $PACKAGE
42+
done
43+
endGroup
44+
45+
46+
# See also:
47+
# https://github.com/coq-community/docker-coq-action#readme
48+
# https://github.com/erikmd/docker-coq-github-action-demo

meta.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
fullname: Simple IO
2+
shortname: simple-io
3+
action: true
4+
ci_test_dependants:
5+
enabled: true
6+
packages: ['coq-itree-io', 'coq-quickchick', 'coq-freespec-ffi', 'coq-bonsai']
7+
dune: true
8+
tested_coq_opam_versions:
9+
- version: '8.12-ocaml-4.11-flambda'
10+
- version: '8.14-ocaml-4.14-flambda'
11+
- version: '8.16'
12+
- version: '8.18'
13+
- version: '8.20'
14+
tested_rocq_opam_versions:
15+
- version: '9.0'
16+
- version: 'dev'

0 commit comments

Comments
 (0)