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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Benoit Viguier
coq-stdpp
Commits
5c4fc3c2
Commit
5c4fc3c2
authored
Feb 22, 2017
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use new CI machine
parent
0671cb48
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
.gitlab-ci.yml
.gitlab-ci.yml
+9
-4
build/opam-ci.sh
build/opam-ci.sh
+7
-2
No files found.
.gitlab-ci.yml
View file @
5c4fc3c2
image
:
ralfjung/opam-ci:latest
variables
:
CPU_CORES
:
"
9"
stdpp-coq8.5
:
tags
:
-
coq
-
fp-timing
script
:
# prepare
-
. build/opam-ci.sh coq 8.5.3
# build
-
'
time
make
-j
8
'
-
'
time
make
-j
$CPU_CORES
'
cache
:
key
:
"
coq8.5"
paths
:
...
...
@@ -19,12 +22,13 @@ stdpp-coq8.5:
stdpp-coq8.6
:
tags
:
-
coq
-
fp-timing
script
:
# prepare
-
. build/opam-ci.sh coq
8.6
-
env | egrep '^(CI_BUILD_REF|CI_RUNNER)' > build-env.txt
# build
-
'
time
make
-j
8
TIMED=y
2>&1
|
tee
build-log.txt'
-
'
time
make
-j
$CPU_CORES
TIMED=y
2>&1
|
tee
build-log.txt'
-
'
if
fgrep
Axiom
build-log.txt
>/dev/null;
then
exit
1;
fi'
-
'
cat
build-log.txt
|
egrep
"[a-zA-Z0-9_/-]+
\(user:
[0-9]"
|
tee
build-time.txt'
-
'
if
((
RANDOM
%
10
==
0
));
then
make
validate;
fi'
...
...
@@ -39,3 +43,4 @@ stdpp-coq8.6:
artifacts
:
paths
:
-
build-time.txt
-
build-env.txt
build/opam-ci.sh
View file @
5c4fc3c2
...
...
@@ -4,16 +4,21 @@ set -e
# Prepare OPAM configuration
export
OPAMROOT
=
"
$(
pwd
)
/opamroot"
export
OPAMJOBS
=
16
export
OPAMJOBS
=
"
$((
2
*
$CPU_CORES
))
"
export
OPAM_EDITOR
=
"
$(
which
false
)
"
# Make sure we got a good OPAM
test
-d
"
$OPAMROOT
"
||
(
mkdir
"
$OPAMROOT
"
&&
opam init
--no-setup
-y
)
eval
`
opam conf
env
`
if
test
$(
find
"
$OPAMROOT
/repo/package-index"
-mtime
+0
)
;
then
# last update was more than a day ago
opam update
else
echo
"[opam-ci] Not updating opam."
fi
test
-d
"
$OPAMROOT
/repo/coq-extra-dev"
||
opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev
-p
5
test
-d
"
$OPAMROOT
/repo/coq-core-dev"
||
opam repo add coq-core-dev https://coq.inria.fr/opam/core-dev
-p
5
test
-d
"
$OPAMROOT
/repo/coq-released"
||
opam repo add coq-released https://coq.inria.fr/opam/released
-p
10
opam update
# Install fixed versions of some dependencies
echo
...
...
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