Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-atomic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dan Frumin
iris-atomic
Commits
1763e08e
Commit
1763e08e
authored
7 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
CI: prepare for trigger-based building against Iris master
parent
c3ea8d22
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+15
-6
15 additions, 6 deletions
.gitlab-ci.yml
build/opam-ci.sh
+2
-1
2 additions, 1 deletion
build/opam-ci.sh
with
17 additions
and
7 deletions
.gitlab-ci.yml
+
15
−
6
View file @
1763e08e
...
...
@@ -8,7 +8,7 @@ variables:
-
fp-timing
script
:
# prepare
-
. build/opam-ci.sh
coq "$COQ_VERSION" coq-mathcomp-ssreflect "$SSR_VERSION"
-
. build/opam-ci.sh
$OPAM_PINS
-
env | egrep '^(CI_BUILD_REF|CI_RUNNER)' > build-env.txt
# build
-
'
time
make
-k
-j$CPU_CORES
TIMED=y
2>&1
|
tee
build-log.txt'
...
...
@@ -16,7 +16,7 @@ variables:
-
'
cat
build-log.txt
|
egrep
"[a-zA-Z0-9_/-]+
\((real|user):
[0-9]"
|
tee
build-time.txt'
-
'
if
test
-n
"$VALIDATE"
&&
((
RANDOM
%
10
==
0
));
then
make
validate;
fi'
cache
:
key
:
"
coq.$COQ_VERSION-ssr.$SSR_VERSION
"
key
:
"
$CI_JOB_NAME
"
paths
:
-
opamroot/
only
:
...
...
@@ -26,16 +26,25 @@ variables:
build-coq8.7
:
<<
:
*template
variables
:
COQ_VERSION
:
"
8.7.dev"
SSR_VERSION
:
"
dev"
OPAM_PINS
:
"
coq
version
8.7.dev
coq-mathcomp-ssreflect
version
dev"
except
:
-
triggers
build-coq8.6.1
:
<<
:
*template
variables
:
COQ_VERSION
:
"
8.6.1"
SSR_VERSION
:
"
1.6.1"
OPAM_PINS
:
"
coq
version
8.6.1
coq-mathcomp-ssreflect
version
1.6.1"
VALIDATE
:
"
1"
artifacts
:
paths
:
-
build-time.txt
-
build-env.txt
except
:
-
triggers
build-iris.dev
:
<<
:
*template
variables
:
OPAM_PINS
:
"
coq
version
8.6.1
coq-mathcomp-ssreflect
version
1.6.1
coq-iris
git
https://gitlab.mpi-sws.org/FP/iris-coq.git#master"
only
:
-
triggers
This diff is collapsed.
Click to expand it.
build/opam-ci.sh
+
2
−
1
View file @
1763e08e
...
...
@@ -47,6 +47,7 @@ echo
echo
while
((
"$#"
))
;
do
# while there are arguments left
PACKAGE
=
"
$1
"
;
shift
KIND
=
"
$1
"
;
shift
VERSION
=
"
$1
"
;
shift
# Check if the pin is already set
...
...
@@ -54,7 +55,7 @@ while (( "$#" )); do # while there are arguments left
echo
"[opam-ci]
$PACKAGE
already pinned to
$VERSION
"
else
echo
"[opam-ci] Pinning
$PACKAGE
to
$VERSION
"
run_and_print opam pin add
-y
-k
version
"
$PACKAGE
"
"
$VERSION
"
run_and_print opam pin add
-y
-k
"
$KIND
"
"
$PACKAGE
"
"
$VERSION
"
fi
done
...
...
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