Skip to content

Commit 905eaff

Browse files
committed
Workaround painful coq/opam bug
1 parent 3eb9087 commit 905eaff

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/docker-action.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,19 @@ jobs:
3232
opam_file: 'coq-bignums.opam'
3333
custom_image: ${{ matrix.image }}
3434
install: |
35-
startGroup "Install coq and dependencies"
35+
startGroup "Install"
3636
sudo apt-get update -y -q
3737
opam remove -y coq-bignums || true # remove coq-bignums if ever in image
3838
opam repository add --all-switches --set-default coq-extra-dev https://coq.inria.fr/opam/extra-dev # docker-coq
3939
opam repository add --all-switches --set-default coq-core-dev https://coq.inria.fr/opam/core-dev # docker-coq
4040
opam pin add -n -y -k version coq ${{ matrix.coq_version }} # docker-coq
4141
opam pin add -n -y -k path $PACKAGE.dev $WORKDIR
4242
opam update -y
43-
opam install --confirm-level=unsafe-yes -j 2 $PACKAGE --deps-only
43+
opam install --confirm-level=unsafe-yes -j 2 $PACKAGE --ignore-constraints-on=dune
44+
endGroup
45+
script: |
46+
startGroup "Post install"
47+
opam list
4448
endGroup
4549
export: 'OPAMWITHTEST'
4650
env:

0 commit comments

Comments
 (0)