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
Show file tree
Hide file tree
Changes from all commits
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
10 changes: 10 additions & 0 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,6 +27,14 @@ jobs:
with:
opam_file: 'coq-bignums.opam'
custom_image: ${{ matrix.image }}
install: |
startGroup "Install dependencies"
# sudo apt-get update -y -q
opam remove -y coq-bignums # remove coq-bignums already in image
opam pin add -n -y -k path $PACKAGE $WORKDIR
opam update -y
opam install --confirm-level=unsafe-yes -j 2 $PACKAGE --deps-only
endGroup
export: 'OPAMWITHTEST'
env:
OPAMWITHTEST: 'true'
Expand Down
8 changes: 5 additions & 3 deletions coq-bignums.opam
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ This Coq library provides BigN, BigZ, and BigQ that used to
be part of the standard library."""

build: [make "-j%{jobs}%"]
run-test: [make "-C" "tests" "-j%{jobs}%"]
install: [make "install"]
install: [
[make "install"]
[make "-C" "tests" "-j%{jobs}%"] {with-test}
]
depends: [
"ocaml"
"ocaml"
"coq" {= "dev"}
]

Expand Down
Loading