-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
72a0fc1
commit 142bb7d
Showing
2 changed files
with
113 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# This Dockerfile should be run from the root EverParse directory | ||
|
||
ARG ocaml_version=4.12 | ||
FROM ocaml/opam:ubuntu-20.04-ocaml-$ocaml_version | ||
|
||
ADD --chown=opam:opam ./ $HOME/everparse/ | ||
WORKDIR $HOME/everparse | ||
|
||
# CI dependencies: jq (to identify F* branch) | ||
RUN sudo apt-get update && sudo apt-get install -y --no-install-recommends \ | ||
jq \ | ||
wget \ | ||
&& true | ||
|
||
# Dependencies (F*, Karamel and opam packages) | ||
ENV FSTAR_HOME=$HOME/FStar | ||
ENV KRML_HOME=$HOME/karamel | ||
RUN eval $(opam env) && .docker/build/install-deps.sh | ||
|
||
# CI proper | ||
ARG CI_THREADS=24 | ||
ARG CI_BRANCH=master | ||
|
||
RUN eval $(opam env) && OTHERFLAGS="--admit_smt_queries true" make -j $EVEREST_THREADS package-noversion | ||
|
||
WORKDIR $HOME | ||
ENV EVERPARSE_HOME=$HOME/everparse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters