Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PaymentServer
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
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Administrator
PaymentServer
Commits
f87d77ee
Commit
f87d77ee
authored
5 years ago
by
Jean-Paul Calderone
Browse files
Options
Downloads
Patches
Plain Diff
build and upload haskell api docs
parent
264e8cc8
No related branches found
Branches containing commit
No related tags found
1 merge request
!14
Try out a CircleCI configuration
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.circleci/config.yml
+11
-3
11 additions, 3 deletions
.circleci/config.yml
with
11 additions
and
3 deletions
.circleci/config.yml
+
11
−
3
View file @
f87d77ee
...
@@ -87,11 +87,13 @@ jobs:
...
@@ -87,11 +87,13 @@ jobs:
# --coverage gathers test coverage information to be published
# --coverage gathers test coverage information to be published
# below.
# below.
#
#
# --haddock-internal builds our own Haskell API docs with Haddock
#
# --fast turns off compiler optimizations which probably doesn't
# --fast turns off compiler optimizations which probably doesn't
# make a lot of difference in our code but it can speed up build
# make a lot of difference in our code but it can speed up build
# times for our dependencies (as well as reduce compiler memory
# times for our dependencies (as well as reduce compiler memory
# usage which may be important at least for stripe-core).
# usage which may be important at least for stripe-core).
nix-shell shell.nix --run "stack build --no-terminal --test --coverage --fast"
nix-shell shell.nix --run "stack build --no-terminal --test --coverage
--haddock-internal
--fast"
-
save_cache
:
-
save_cache
:
name
:
"
Cache
Dependencies"
name
:
"
Cache
Dependencies"
...
@@ -111,9 +113,10 @@ jobs:
...
@@ -111,9 +113,10 @@ jobs:
path
:
"
.stack-work/logs"
path
:
"
.stack-work/logs"
-
run
:
-
run
:
name
:
"
Prepare
Coverage
Report
F
or
Upload"
name
:
"
Prepare
Artifacts
f
or
Upload"
command
:
|
command
:
|
mv $(nix-shell shell.nix --run "stack path --local-install-root")/hpc /tmp
mv $(nix-shell shell.nix --run "stack path --local-hpc-root") /tmp
mv $(nix-shell shell.nix --run "stack path --local-doc-root")/PaymentServer-* /tmp/PaymentServer-docs
-
store_artifacts
:
-
store_artifacts
:
# This contains the html coverage report as well as the raw data in
# This contains the html coverage report as well as the raw data in
...
@@ -121,6 +124,11 @@ jobs:
...
@@ -121,6 +124,11 @@ jobs:
path
:
"
/tmp/hpc"
path
:
"
/tmp/hpc"
destination
:
"
coverage"
destination
:
"
coverage"
-
store_artifacts
:
# This contains the html haddock output for the project.
path
:
"
/tmp/PaymentServer-docs"
destination
:
"
docs"
workflows
:
workflows
:
version
:
2
version
:
2
everything
:
everything
:
...
...
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