Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
caisar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
pub
caisar
Commits
4f9ee797
Commit
4f9ee797
authored
3 years ago
by
Julien Girard-Satabin
Committed by
Michele Alberti
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit for CI
parent
31d7a48b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitlab-ci.yml
+28
-0
28 additions, 0 deletions
.gitlab-ci.yml
Makefile
+6
-0
6 additions, 0 deletions
Makefile
caisar.opam
+3
-3
3 additions, 3 deletions
caisar.opam
dune-project
+1
-0
1 addition, 0 deletions
dune-project
nnet.opam
+2
-3
2 additions, 3 deletions
nnet.opam
with
40 additions
and
6 deletions
.gitlab-ci.yml
0 → 100644
+
28
−
0
View file @
4f9ee797
stages
:
-
test
tests
:
stage
:
test
image
:
ocaml/opam@sha256:c92cd07b0dc0ed07ec1a779545c676f475c12bc646a5e44e3abbf9363caba94b
cache
:
key
:
$CI_COMMIT_REF_SLUG
paths
:
-
_opam
script
:
-
if [ ! -d _opam ]; then echo "no local switch in the CI cache, we setup a new switch"; opam switch create --yes --no-install . ocaml-base-compiler.4.11.1; fi
-
eval `opam config env`
-
opam install depext --yes
-
opam --version
-
opam switch
-
sudo apt-get update
-
opam pin --no-action --yes .
-
opam depext --yes why3 base yojson
-
opam repository add remote https://opam.ocaml.org
-
opam update
-
opam install . --deps-only --with-test --yes
-
opam depext --yes --install alt-ergo.2.4.0
-
opam pin https://gitlab.inria.fr/why3/why3.git#autodetection_from_file --yes
-
make
-
make test
tags
:
-
docker
This diff is collapsed.
Click to expand it.
Makefile
+
6
−
0
View file @
4f9ee797
...
...
@@ -6,3 +6,9 @@ test:
promote
:
dune promote
--root
=
.
test
:
dune runtest
clean
:
dune clean
This diff is collapsed.
Click to expand it.
caisar.opam
+
3
−
3
View file @
4f9ee797
...
...
@@ -16,10 +16,11 @@ depends: [
"menhirLib" {>= "20210310"}
"ppx_deriving_yojson" {>= "3.6.1"}
"csv" {>= "2.4"}
"why3" {>= "1.4"}
"odoc" {with-doc}
]
build: [
["dune" "subst"
"--root" "."
] {dev}
["dune" "subst"] {dev}
[
"dune"
"build"
...
...
@@ -27,8 +28,7 @@ build: [
name
"-j"
jobs
"--promote-install-files"
"false"
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
...
...
This diff is collapsed.
Click to expand it.
dune-project
+
1
−
0
View file @
4f9ee797
...
...
@@ -26,6 +26,7 @@
(menhirLib (>= 20210310))
(ppx_deriving_yojson (>= 3.6.1))
(csv (>= 2.4))
(why3 (>= 1.4))
)
(sites
(share stdlib)
...
...
This diff is collapsed.
Click to expand it.
nnet.opam
+
2
−
3
View file @
4f9ee797
...
...
@@ -9,7 +9,7 @@ depends: [
"odoc" {with-doc}
]
build: [
["dune" "subst"
"--root" "."
] {dev}
["dune" "subst"] {dev}
[
"dune"
"build"
...
...
@@ -17,8 +17,7 @@ build: [
name
"-j"
jobs
"--promote-install-files"
"false"
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
...
...
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