Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PROSA - Formally Proven Schedulability Analysis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
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
RT-PROOFS
PROSA - Formally Proven Schedulability Analysis
Commits
40c206bd
Commit
40c206bd
authored
3 years ago
by
Björn Brandenburg
Browse files
Options
Downloads
Patches
Plain Diff
CI: don't run expensive jobs in wip- branches
parent
1cfa5d27
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!136
Use alectryon to generate doc with proof state
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+69
-32
69 additions, 32 deletions
.gitlab-ci.yml
with
69 additions
and
32 deletions
.gitlab-ci.yml
+
69
−
32
View file @
40c206bd
###################### Global Config ######################
workflow
:
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
-
if
:
'
$CI_COMMIT_BRANCH
&&
$CI_OPEN_MERGE_REQUESTS'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH'
stages
:
-
build
-
process
###################### Rules and Scripts ##################
.not_in_wip_branches
:
rules
:
-
if
:
($CI_COMMIT_BRANCH !~ /^wip-.*$/) || ($CI_PIPELINE_SOURCE == "merge_request_event")
.build-common
:
stage
:
build
script
:
...
...
@@ -21,14 +36,14 @@ stages:
image
:
mathcomp/mathcomp-dev:${CI_JOB_NAME}
extends
:
.build-common
.
build-for-process
:
.
compile
:
stage
:
build
image
:
mathcomp/mathcomp:1.12.0-coq-8.13
script
:
-
./create_makefile.sh --without-classic
-
make -j ${NJOBS}
.
build-for-process
-classic
:
.
compile
-classic
:
stage
:
build
image
:
mathcomp/mathcomp:1.12.0-coq-8.13
script
:
...
...
@@ -63,26 +78,50 @@ stages:
-
"
*/*/*/*/*/*/*/*/*/*.glob"
expire_in
:
1 week
.doc
:
extends
:
-
.preferred-stable-version
stage
:
process
script
:
-
make html -j ${NJOBS}
-
mv html with-proofs
-
make gallinahtml -j ${NJOBS}
-
mv html without-proofs
-
make htmlpretty -j ${NJOBS}
-
mv html pretty
###################### The Jobs ######################
1.10.0-coq-8.11
:
extends
:
.build
extends
:
-
.build
-
.not_in_wip_branches
1.11.0-coq-8.11
:
extends
:
.build
extends
:
-
.build
-
.not_in_wip_branches
1.11.0-coq-8.12
:
extends
:
.build
extends
:
-
.build
-
.not_in_wip_branches
1.12.0-coq-8.13
:
extends
:
.build
extends
:
-
.build
-
.not_in_wip_branches
build-for-process
:
compile
:
extends
:
-
.
build-for-process
-
.
compile
-
.collect-vo-files
build-for-process
-classic
:
compile
-classic
:
extends
:
-
.build-for-process-classic
-
.not_in_wip_branches
-
.compile-classic
-
.collect-vo-files
proof-length
:
...
...
@@ -92,59 +131,55 @@ proof-length:
-
scripts/proofloc.py --check --long-proofs scripts/known-long-proofs.json `find . -iname *.v`
spell-check
:
extends
:
-
.not_in_wip_branches
stage
:
build
image
:
bbbrandenburg/aspell-ci
script
:
-
scripts/flag-typos-in-comments.sh `find . -iname '*.v' ! -path './classic/*'`
# mathcomp-dev with stable Coq 8.13
coq-8.13
:
extends
:
-
.build-dev
-
.not_in_wip_branches
# it's ok to fail with an unreleased version of ssreflect
allow_failure
:
true
# mathcomp-dev with coq-dev
coq-dev
:
extends
:
-
.build-dev
-
.not_in_wip_branches
# it's ok to fail with an unreleased version of ssreflect and Coq
allow_failure
:
true
validate
:
extends
:
-
.not_in_wip_branches
-
.preferred-stable-version
stage
:
process
needs
:
[
"
build-for-process
"
]
needs
:
[
"
compile
"
]
dependencies
:
-
build-for-process
-
compile
script
:
make validate
validate-classic
:
extends
:
-
.not_in_wip_branches
-
.preferred-stable-version
stage
:
process
needs
:
[
"
build-for-process
-classic"
]
needs
:
[
"
compile
-classic"
]
dependencies
:
-
build-for-process
-classic
-
compile
-classic
script
:
make validate
.doc
:
extends
:
-
.preferred-stable-version
stage
:
process
script
:
-
make html -j ${NJOBS}
-
mv html with-proofs
-
make gallinahtml -j ${NJOBS}
-
mv html without-proofs
-
make htmlpretty -j ${NJOBS}
-
mv html pretty
doc
:
extends
:
-
.doc
needs
:
[
"
build-for-process
"
]
needs
:
[
"
compile
"
]
dependencies
:
-
build-for-process
-
compile
artifacts
:
name
:
"
prosa-spec-$CI_COMMIT_REF_NAME"
paths
:
...
...
@@ -155,10 +190,11 @@ doc:
doc-classic
:
extends
:
-
.not_in_wip_branches
-
.doc
needs
:
[
"
build-for-process
-classic"
]
needs
:
[
"
compile
-classic"
]
dependencies
:
-
build-for-process
-classic
-
compile
-classic
artifacts
:
name
:
"
prosa-classic-spec-$CI_COMMIT_REF_NAME"
paths
:
...
...
@@ -169,11 +205,12 @@ doc-classic:
proof-state
:
extends
:
-
.not_in_wip_branches
-
.preferred-stable-version
stage
:
process
needs
:
[
"
build-for-process
"
]
needs
:
[
"
compile
"
]
dependencies
:
-
build-for-process
-
compile
script
:
-
make alectryon
-
mv html ../with-proofs-and-proof-state
...
...
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