Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lambda-rust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Iris
lambda-rust
Commits
f9c39ba1
There was a problem fetching the pipeline summary.
Commit
f9c39ba1
authored
7 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
update CI
parent
a4237b93
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+16
-21
16 additions, 21 deletions
.gitlab-ci.yml
Makefile
+1
-1
1 addition, 1 deletion
Makefile
build/opam-ci.sh
+1
-0
1 addition, 0 deletions
build/opam-ci.sh
with
18 additions
and
22 deletions
.gitlab-ci.yml
+
16
−
21
View file @
f9c39ba1
...
@@ -2,15 +2,14 @@ image: ralfjung/opam-ci:latest
...
@@ -2,15 +2,14 @@ image: ralfjung/opam-ci:latest
stages
:
stages
:
-
build
-
build
-
deploy
variables
:
variables
:
CPU_CORES
:
"
9
"
CPU_CORES
:
"
10
"
.template
:
&template
.template
:
&template
stage
:
build
stage
:
build
tags
:
tags
:
-
fp
-timing
-
fp
script
:
script
:
# prepare
# prepare
-
. build/opam-ci.sh $OPAM_PINS
-
. build/opam-ci.sh $OPAM_PINS
...
@@ -19,6 +18,10 @@ variables:
...
@@ -19,6 +18,10 @@ variables:
-
'
time
make
-k
-j$CPU_CORES
TIMED=y
2>&1
|
tee
build-log.txt'
-
'
time
make
-k
-j$CPU_CORES
TIMED=y
2>&1
|
tee
build-log.txt'
-
'
if
fgrep
Axiom
build-log.txt
>/dev/null;
then
exit
1;
fi'
-
'
if
fgrep
Axiom
build-log.txt
>/dev/null;
then
exit
1;
fi'
-
'
cat
build-log.txt
|
egrep
"[a-zA-Z0-9_/-]+
\((real|user):
[0-9]"
|
tee
build-time.txt'
-
'
cat
build-log.txt
|
egrep
"[a-zA-Z0-9_/-]+
\((real|user):
[0-9]"
|
tee
build-time.txt'
# maybe validate
-
'
if
[[
-n
"$VALIDATE"
]];
then
make
validate;
fi'
# maybe create opam package
-
'
if
[[
-n
"$OPAM_PKG"
&&
"$CI_COMMIT_REF_NAME"
==
master
]];
then
curl
--fail
-X
POST
-F
"token=$OPAM_UPDATE_SECRET"
-F
"ref=master"
-F
"variables[REPO]=$CI_PROJECT_URL.git"
-F
"variables[REF]=$CI_COMMIT_REF_NAME"
-F
"variables[SHA]=$CI_COMMIT_SHA"
-F
"variables[NAME]=$OPAM_PKG"
https://gitlab.mpi-sws.org/api/v4/projects/581/trigger/pipeline;
fi'
cache
:
cache
:
key
:
"
$CI_JOB_NAME"
key
:
"
$CI_JOB_NAME"
paths
:
paths
:
...
@@ -26,40 +29,32 @@ variables:
...
@@ -26,40 +29,32 @@ variables:
only
:
only
:
-
master
-
master
-
/^ci/
-
/^ci/
opam
:
stage
:
deploy
script
:
# Send a trigger to the repository doing the work
-
curl --fail -X POST -F "token=$OPAM_UPDATE_SECRET" -F "ref=master" -F "variables[REPO]=$CI_PROJECT_URL.git" -F "variables[REF]=$CI_COMMIT_REF_NAME" -F "variables[SHA]=$CI_COMMIT_SHA" -F "variables[NAME]=$OPAM_PKG" https://gitlab.mpi-sws.org/api/v4/projects/581/trigger/pipeline
variables
:
OPAM_PKG
:
"
coq-lambda-rust"
only
:
-
master
except
:
except
:
-
triggers
-
triggers
## Build jobs
build-coq.8.7.1
:
build-coq.8.7.1
:
<<
:
*template
<<
:
*template
variables
:
variables
:
OPAM_PINS
:
"
coq
version
8.7.1
coq-mathcomp-ssreflect
version
1.6.4"
OPAM_PINS
:
"
coq
version
8.7.1
coq-mathcomp-ssreflect
version
1.6.4"
except
:
OPAM_PKG
:
"
coq-lambda-rust"
-
triggers
tags
:
-
fp-timing
artifacts
:
paths
:
-
build-time.txt
-
build-env.txt
build-coq.8.6.1
:
build-coq.8.6.1
:
<<
:
*template
<<
:
*template
variables
:
variables
:
OPAM_PINS
:
"
coq
version
8.6.1
coq-mathcomp-ssreflect
version
1.6.4"
OPAM_PINS
:
"
coq
version
8.6.1
coq-mathcomp-ssreflect
version
1.6.4"
artifacts
:
paths
:
-
build-time.txt
-
build-env.txt
except
:
-
triggers
build-iris.dev
:
build-iris.dev
:
<<
:
*template
<<
:
*template
variables
:
variables
:
OPAM_PINS
:
"
coq
version
8.7.1
coq-mathcomp-ssreflect
version
1.6.4
coq-iris.dev
git
https://gitlab.mpi-sws.org/FP/iris-coq.git#$IRIS_REV"
OPAM_PINS
:
"
coq
version
8.7.1
coq-mathcomp-ssreflect
version
1.6.4
coq-iris.dev
git
https://gitlab.mpi-sws.org/FP/iris-coq.git#$IRIS_REV"
except
:
only
:
only
:
-
triggers
-
triggers
This diff is collapsed.
Click to expand it.
Makefile
+
1
−
1
View file @
f9c39ba1
...
@@ -15,7 +15,7 @@ clean: Makefile.coq
...
@@ -15,7 +15,7 @@ clean: Makefile.coq
# Create Coq Makefile. POSIX awk can't do in-place editing, but coq_makefile wants the real
# Create Coq Makefile. POSIX awk can't do in-place editing, but coq_makefile wants the real
# filename, so we do some file gymnastics.
# filename, so we do some file gymnastics.
Makefile.coq
:
_CoqProject Makefile awk.Makefile
Makefile.coq
:
_CoqProject Makefile awk.Makefile
coq_makefile
-f
_CoqProject
-o
Makefile.coq
"
$(
COQBIN
)
coq_makefile
"
-f
_CoqProject
-o
Makefile.coq
mv
Makefile.coq Makefile.coq.tmp
&&
awk
-f
awk.Makefile Makefile.coq.tmp
>
Makefile.coq
&&
rm
Makefile.coq.tmp
mv
Makefile.coq Makefile.coq.tmp
&&
awk
-f
awk.Makefile Makefile.coq.tmp
>
Makefile.coq
&&
rm
Makefile.coq.tmp
# Install build-dependencies
# Install build-dependencies
...
...
This diff is collapsed.
Click to expand it.
build/opam-ci.sh
+
1
−
0
View file @
f9c39ba1
...
@@ -63,5 +63,6 @@ echo "[opam-ci] Installing build-dependencies"
...
@@ -63,5 +63,6 @@ echo "[opam-ci] Installing build-dependencies"
make build-dep
OPAMFLAGS
=
-y
make build-dep
OPAMFLAGS
=
-y
# done
# done
set
+x
echo
echo
coqc
-v
coqc
-v
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