TwoThree: remove dead parameter #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: | |
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: | |
- 'coqorg/coq:8.9' | |
- 'coqorg/coq:8.11' | |
- 'coqorg/coq:8.12' | |
- 'coqorg/coq:8.13' | |
- 'coqorg/coq:8.14' | |
- 'coqorg/coq:8.15' | |
- 'coqorg/coq:8.16' | |
- 'coqorg/coq:8.17' | |
- 'coqorg/coq:8.18' | |
- 'coqorg/coq:8.19' | |
- 'coqorg/coq:dev' | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: coq-community/docker-coq-action@v1 | |
with: | |
opam_file: 'coq-ext-lib.opam' | |
custom_image: ${{ matrix.image }} | |
after_script: | | |
startGroup "Test dependants" | |
PINS=$(opam list -s --pinned --columns=package | xargs | tr ' ' ,) | |
PACKAGES=`opam list -s --depends-on coq-ext-lib --coinstallable-with $PINS` | |
for PACKAGE in $PACKAGES | |
do DEPS_FAILED=false | |
opam install -y --deps-only $PACKAGE || DEPS_FAILED=true | |
[ $DEPS_FAILED == true ] || opam install -t $PACKAGE | |
done | |
endGroup | |
set -o pipefail # recommended if the script uses pipes | |
startGroup "Generate Coqdoc" | |
make -j`nproc` coqdoc | |
endGroup | |
before_script: | | |
startGroup "Workaround permission issue" | |
sudo chown -R coq:coq . | |
endGroup | |
export: 'OPAMWITHTEST OPAMCONFIRMLEVEL' | |
env: | |
OPAMWITHTEST: true | |
OPAMCONFIRMLEVEL: unsafe-yes | |
- name: Revert permissions | |
# to avoid a warning at cleanup time | |
if: ${{ always() }} | |
run: sudo chown -R 1001:116 . | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: coqdoc | |
path: html | |
overwrite: true | |
# See also: | |
# https://github.com/coq-community/docker-coq-action#readme | |
# https://github.com/erikmd/docker-coq-github-action-demo |