Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stdpp
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
Maxime Dénès
stdpp
Commits
6c9f534d
Commit
6c9f534d
authored
7 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
CI: actually generate and upload doc
parent
49280cda
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
build/coqdoc
+7
-1
7 additions, 1 deletion
build/coqdoc
with
9 additions
and
3 deletions
.gitlab-ci.yml
+
2
−
2
View file @
6c9f534d
...
...
@@ -20,8 +20,8 @@ variables:
-
'
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'
-
'
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
the .vo fi
le
s
)
-
'
if
test
-n
"$DOCDIR";
then
build/coqdoc;
fi'
# maybe generate and upload doc (has to be in this job as we need
coq instal
le
d
)
-
'
if
[[
-n
"$DOCDIR"
]]
;
then
build/coqdoc;
fi'
cache
:
key
:
"
$CI_JOB_NAME"
paths
:
...
...
This diff is collapsed.
Click to expand it.
build/coqdoc
+
7
−
1
View file @
6c9f534d
...
...
@@ -3,7 +3,7 @@
# This reads the following environment variables:
# - DOCDIR: The directory to upload the documentation to
set
-e
echo
"Publishing documentation from branch
$CI_
BUILD_REF
to
$DOCDIR
"
echo
"Publishing documentation from branch
$CI_
COMMIT_REF_NAME
to
$DOCDIR
"
# We need a custom wrapper around SSH to use our settings, and ssh-agent for the key
eval
$(
ssh-agent
-s
)
...
...
@@ -12,3 +12,9 @@ export GIT_SSH=$(readlink -e "$(dirname "$0")/ssh")
# Enable tracing mode *after* we did the secret key stuff above
set
-x
# Generate documentation
make html
# Upload documentation
rsync
-a
-e
"
$GIT_SSH
"
html/
"
$DOCDIR
/"
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