Skip to content

Commit

Permalink
fix docker-action
Browse files Browse the repository at this point in the history
  • Loading branch information
palmskog committed Jun 29, 2024
1 parent 3fb2355 commit 4643e95
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/docker-action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# 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:
Expand All @@ -23,9 +21,31 @@ jobs:
- uses: actions/checkout@v3
- uses: coq-community/docker-coq-action@v1
with:
opam_file: 'coq-stalmarck.opam'
custom_image: ${{ matrix.image }}

custom_script: |
{{before_install}}
startGroup "Build stalmarck dependencies"
opam pin add -n -y -k path coq-stalmarck .
opam update -y
opam install -y -j 2 coq-stalmarck --deps-only
endGroup
startGroup "Build stalmarck"
opam install -y -v -j 2 coq-stalmarck
opam list
endGroup
startGroup "Build stalmarck-tactic dependencies"
opam pin add -n -y -k path coq-stalmarck-tactic .
opam update -y
opam install -y -j 2 coq-stalmarck-tactic --deps-only
endGroup
startGroup "Build stalmarck-tactic"
opam install -y -v -j 2 coq-stalmarck-tactic
opam list
endGroup
startGroup "Uninstallation test"
opam remove -y coq-stalmarck-tactic
opam remove -y coq-stalmarck
endGroup
# See also:
# https://github.com/coq-community/docker-coq-action#readme
Expand Down

0 comments on commit 4643e95

Please sign in to comment.