Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aneris
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ds-ac
aneris
Commits
111fc766
Commit
111fc766
authored
4 years ago
by
Simon Gregersen
Browse files
Options
Downloads
Patches
Plain Diff
Dockerfile and ci
parent
d03a3e89
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.travis.yml
+26
-0
26 additions, 0 deletions
.travis.yml
Dockerfile
+19
-0
19 additions, 0 deletions
Dockerfile
Makefile
+3
-3
3 additions, 3 deletions
Makefile
aneris.opam
+2
-1
2 additions, 1 deletion
aneris.opam
with
50 additions
and
4 deletions
.travis.yml
0 → 100644
+
26
−
0
View file @
111fc766
os
:
linux
dist
:
bionic
language
:
shell
notifications
:
email
:
-
gregersen@cs.au.dk
branches
:
only
:
-
master
-
/^ci\//
# for version tags of the form v0.1 or v0.1.1
-
/^v\d+\.\d+(\.\d+)?$/
services
:
-
docker
env
:
jobs
:
-
COQ_IMAGE="coqorg/coq:8.12"
script
:
-
echo -e "${ANSI_YELLOW}Building Aneris...${ANSI_RESET}" && echo -en 'travis_fold:start:script\\r'
-
docker build --build-arg=coq_image="${COQ_IMAGE}" --pull -t aneris .
-
echo -en 'travis_fold:end:script\\r'
This diff is collapsed.
Click to expand it.
Dockerfile
0 → 100644
+
19
−
0
View file @
111fc766
ARG
coq_image="coqorg/coq:dev"
FROM
${coq_image}
LABEL
maintainer="gregersen@cs.au.dk"
RUN
eval
$(
opam
env
--switch
=
${
COMPILER_EDGE
}
--set-switch
)
\
opam repository add
--all-switches
--set-default
iris-dev https://gitlab.mpi-sws.org/iris/opam.git
\
&&
opam update
-y
-u
\
&&
opam config list
&&
opam repo list
&&
opam list
\
&&
opam clean
-a
-c
-s
--logs
COPY
--chown=coq:coq . /coq
WORKDIR
/coq
ENV
OPAMYES true
RUN
git submodule update
--recursive
\
&&
make build-dep
RUN
make clean
\
&&
make
-j
${
NJOBS
}
This diff is collapsed.
Click to expand it.
Makefile
+
3
−
3
View file @
111fc766
...
...
@@ -14,10 +14,10 @@ Makefile.coq: _CoqProject
+make
-f
Makefile.coq
$@
# Install build-dependencies
build-dep/opam
:
opam Makefile
build-dep/opam
:
aneris.
opam Makefile
@
echo
"# Creating build-dep package."
@
mkdir
-p
build-dep
@
sed
<opam
-E
's/^(build|install|remove):.*/\1: []/; s/^name: *"(.*)" */name: "\1-builddep"/'
>
build-dep/opam
@
sed
<
aneris.
opam
-E
's/^(build|install|remove):.*/\1: []/; s/^name: *"(.*)" */name: "\1-builddep"/'
>
build-dep/opam
@
fgrep builddep build-dep/opam
>
/dev/null
||
(
echo
"sed failed to fix the package name"
&&
exit
1
)
# sanity check
build-dep
:
build-dep/opam phony
...
...
@@ -38,6 +38,6 @@ build-dep: build-dep/opam phony
# Some files that do *not* need to be forwarded to Makefile.coq
Makefile
:
;
_CoqProject
:
;
opam
:
;
aneris.
opam
:
;
.PHONY
:
all clean phony
This diff is collapsed.
Click to expand it.
aneris.opam
+
2
−
1
View file @
111fc766
opam-version: "2.0"
name: "coq-aneris"
synopsis: "Coq development of the Aneris program logic"
maintainer: "Simon Gregersen <gregersen@cs.au.dk>"
authors: "The Aneris Team"
...
...
@@ -9,7 +10,7 @@ bug-reports: "https://github.com/logsem/aneris/issues"
build: [make "-j%{jobs}%"]
install: [make "install"]
depends: [
"coq" { (= "8.1
2
.0") | (= "dev") }
"coq" { (
>
= "8.1
1
.0"
& < "8.12~"
) | (= "dev") }
"coq-iris" { (= "dev.2020-09-03.2.26739725") | (= "dev") }
"coq-stdpp" { (= "dev.2020-09-02.0.897b954e") | (= "dev") }
"coq-iris-string-ident" { (= "dev") }
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment