Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Remove coq-bignums before CI #87

Merged
merged 4 commits into from
Feb 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions .github/workflows/docker-action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Beware not to destroy this file when regenerating it from meta.yml

name: Docker CI

on:
Expand Down Expand Up @@ -25,9 +27,25 @@ jobs:
with:
opam_file: 'coq-bignums.opam'
custom_image: ${{ matrix.image }}
export: 'OPAMWITHTEST'
env:
OPAMWITHTEST: 'true'
custom_script: |
startGroup Print opam config
opam config list; opam repo list; opam list
echo NJOBS=${NJOBS}
endGroup
startGroup Build coq-bignums
opam remove -y coq-bignums # remove coq-bignums already in image
opam pin add -n -y -k path coq-bignums .
opam install -y -v -j ${NJOBS} coq-bignums
opam list
endGroup
startGroup Test coq-bignums
git config --global --add safe.directory /github/workspace # to avoid git clean below complaining
git clean -dxf .
make -j ${NJOBS} -C tests
endGroup
startGroup Uninstallation test
opam remove -y coq-bignums
endGroup
erikmd marked this conversation as resolved.
Show resolved Hide resolved

# See also:
# https://github.com/coq-community/docker-coq-action#readme
Expand Down
Loading