Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haskell
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
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
obsidiansystems
haskell
Commits
a15474fe
Commit
a15474fe
authored
5 years ago
by
Richard Eisenberg
Browse files
Options
Downloads
Patches
Plain Diff
CI commentary
parent
8085ecef
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+29
-0
29 additions, 0 deletions
.gitlab-ci.yml
with
29 additions
and
0 deletions
.gitlab-ci.yml
+
29
−
0
View file @
a15474fe
## Notes (mainly for @rae):
##
## We need both ott and latex in order to build. I don't know how to make
## a docker image, so I needed existing docker images. Ocaml helpfully
## supplies images with a working opam. And `opam install ott` works.
## A quick search on hub.docker.com found aergus/latex, which seems well-used
## and well-liked. So that's what we use here.
##
## The "tags" entries below are necessary. Otherwise, we sometimes get
## a Windows machine and chaos ensues.
##
## "stages" forces the build-tex to happen before build-pdf. Otherwise, they
## would go in parallel, which is all wrong.
##
## "artifacts" labels bits that we want to keep. We need the .tex artifacts
## from build-tex just to communicate to build-pdf. I thought of having
## a short expiry, but it might be nice one day to be able to examine the
## intermediate output.
##
## The build-pdf script uses `touch` to make sure that the haskell.tex
## and ott.tex files don't attempt to be rebuilt. I'm sure there's a better
## way, but this ensures that this script uses the same build procedure as
## I do when I `make`.
##
## "dependencies" are to explicitly declare which artifacts are necessary.
## I believe it's optional. It does *not* control ordering; "stages" does that.
## I think all it does is avoid getting the non-dependent artifacts. Anyway,
## this works.
stages
:
stages
:
-
tex
-
tex
-
pdf
-
pdf
...
...
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