Skip to content

Split off reals into package coq-fourcolor-reals that is a dependency of coq-fourcolor #954

Split off reals into package coq-fourcolor-reals that is a dependency of coq-fourcolor

Split off reals into package coq-fourcolor-reals that is a dependency of coq-fourcolor #954

Workflow file for this run

# This file was generated from `meta.yml`, please do not edit manually.
# Follow the instructions on https://github.com/coq-community/templates to regenerate.
name: Docker CI
on:
schedule:
- cron: '0 5 * * 0'
push:
branches:
- master
pull_request:
branches:
- '**'
jobs:
build:
# the OS must be GNU/Linux to be able to use the docker-coq-action
runs-on: ubuntu-latest
strategy:
matrix:
image:
- 'mathcomp/mathcomp:2.1.0-coq-8.16'
- 'mathcomp/mathcomp:2.1.0-coq-8.18'
- 'mathcomp/mathcomp:2.2.0-coq-8.16'
- 'mathcomp/mathcomp:2.2.0-coq-8.19'
- 'mathcomp/mathcomp:2.2.0-coq-dev'
- 'mathcomp/mathcomp-dev:coq-8.19'
- 'mathcomp/mathcomp-dev:coq-dev'
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: coq-community/docker-coq-action@v1
with:
custom_image: ${{ matrix.image }}
custom_script: |
{{before_install}}
startGroup "Build fourcolor-reals dependencies"
opam pin add -n -y -k path coq-fourcolor-reals .
opam update -y
opam install -y -j $(nproc) coq-fourcolor-reals --deps-only
endGroup
startGroup "Build fourcolor-reals"
opam install -y -v -j $(nproc) coq-fourcolor-reals
opam list
endGroup
startGroup "Build fourcolor dependencies"
opam pin add -n -y -k path coq-fourcolor .
opam update -y
opam install -y -j $(nproc) coq-fourcolor --deps-only
endGroup
startGroup "Build fourcolor"
opam install -y -v -j $(nproc) coq-fourcolor
opam list
endGroup
startGroup "Uninstallation test"
opam remove -y coq-fourcolor
opam remove -y coq-fourcolor-reals
endGroup
# See also:
# https://github.com/coq-community/docker-coq-action#readme
# https://github.com/erikmd/docker-coq-github-action-demo