Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
coq-stdpp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
David Swasey
coq-stdpp
Commits
4e87d4e7
Commit
4e87d4e7
authored
Feb 13, 2018
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update CI
parent
46d3f549
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
25 deletions
+11
-25
.gitlab-ci.yml
.gitlab-ci.yml
+11
-25
No files found.
.gitlab-ci.yml
View file @
4e87d4e7
...
...
@@ -2,8 +2,6 @@ image: ralfjung/opam-ci:latest
stages
:
-
build
-
deploy
-
build_more
variables
:
CPU_CORES
:
"
9"
...
...
@@ -22,6 +20,8 @@ variables:
-
'
cat
build-log.txt
|
egrep
"[a-zA-Z0-9_/-]+
\((real|user):
[0-9]"
|
tee
build-time.txt'
# maybe generate and upload doc (has to be in this job as we need coq installed)
-
'
if
[[
-n
"$DOCDIR"
&&
"$CI_COMMIT_REF_NAME"
==
master
]];
then
build/coqdoc;
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
:
key
:
"
$CI_JOB_NAME"
paths
:
...
...
@@ -29,31 +29,27 @@ variables:
only
:
-
master
-
/^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-stdpp"
only
:
-
master
except
:
-
triggers
## Build jobs
build-coq.dev
:
<<
:
*template
variables
:
OPAM_PINS
:
"
coq
version
dev"
VALIDATE
:
"
1"
build-coq.8.7.dev
:
<<
:
*template
stage
:
build_more
variables
:
OPAM_PINS
:
"
coq
version
8.7.dev"
except
:
-
triggers
build-coq.8.7.1
:
<<
:
*template
variables
:
OPAM_PINS
:
"
coq
version
8.7.1"
OPAM_PKG
:
"
coq-stdpp"
DOCDIR
:
"
coqdoc@center.mpi-sws.org:/stdpp"
tags
:
-
fp-timing
...
...
@@ -61,28 +57,18 @@ build-coq.8.7.1:
paths
:
-
build-time.txt
-
build-env.txt
except
:
-
triggers
build-coq.8.7.0
:
<<
:
*template
stage
:
build_more
variables
:
OPAM_PINS
:
"
coq
version
8.7.0"
except
:
-
triggers
build-coq.8.6.1
:
<<
:
*template
variables
:
OPAM_PINS
:
"
coq
version
8.6.1"
except
:
-
triggers
build-coq.8.6.0
:
<<
:
*template
stage
:
build_more
variables
:
OPAM_PINS
:
"
coq
version
8.6"
except
:
-
triggers
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