Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
9bff58d1
Commit
9bff58d1
authored
Mar 27, 2018
by
Guillaume Melquiond
Browse files
Make CI build the opam packages.
parent
bc3a9095
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9bff58d1
...
...
@@ -71,6 +71,13 @@ bench-4.06.0:
COMPILER
:
4.06.0
<<
:
*bench_definition
opam
:
stage
:
build
script
:
-
docker build -t bench-image -f misc/Dockerfile.init .
-
docker build -t opam-image -f misc/Dockerfile.opam .
-
docker run -t --rm opam-image opam pin -v -y add why3-ide .
deploy
:
stage
:
deploy
script
:
...
...
misc/Dockerfile.init
View file @
9bff58d1
...
...
@@ -12,7 +12,7 @@ WORKDIR /home/why3
ARG compiler=system
RUN opam init -a -y -j2 --compiler=$compiler
RUN opam install -y menhir lablgtk ocamlgraph zarith camlzip
RUN opam install -y menhir
conf-gtksourceview
lablgtk ocamlgraph zarith camlzip
# Alt-Ergo
RUN opam install alt-ergo.1.30
...
...
@@ -20,4 +20,4 @@ RUN opam install alt-ergo.1.30
# copy Why3 sources
COPY --chown=why3:why3 . why3
WORKDIR /home/why3/why3
\ No newline at end of file
WORKDIR /home/why3/why3
misc/Dockerfile.opam
0 → 100644
View file @
9bff58d1
FROM bench-image
RUN autoconf && \
(automake --add-missing 2> /dev/null || true)
RUN opam pin -v -y add why3 .
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment