Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Commit

Permalink
Try deploying Documenter on GitLab pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Dec 11, 2018
1 parent 88cc320 commit 830f144
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 24 deletions.
21 changes: 2 additions & 19 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
variables:
CI_IMAGE_TAG: 'cuda'

stages:
- test
- postprocess

include:
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v1/common.yml'
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v1/test_v1.0.yml'
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v1/test_dev.yml'
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v1/coverage_dev.yml'
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v1/documentation_v1.0.yml'

test:v1.0:
only:
Expand All @@ -29,21 +26,7 @@ coverage:
- staging
- trying

documentation:
stage: postprocess
image: juliagpu/julia:v1.0-cuda
variables:
DOCUMENTER_DEBUG: "true"
script:
- julia --project=docs/ -e 'using Pkg;
Pkg.develop(PackageSpec(path=pwd()));
Pkg.build();
Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
- mv docs/build public
artifacts:
paths:
- public
pages:
only:
- master
- staging
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ CUDAnative.jl

*Support for compiling and executing native Julia kernels on CUDA hardware.*

[![][docs-stable-img]][docs-stable-url] [![][docs-latest-img]][docs-latest-url] [![][codecov-img]][codecov-url] [![][doi-img]][doi-url]
[![][docs-latest-img]][docs-latest-url] [![][codecov-img]][codecov-url] [![][doi-img]][doi-url]

[codecov-img]: https://codecov.io/gh/JuliaGPU/CUDAnative.jl/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/JuliaGPU/CUDAnative.jl

[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
[docs-stable-url]: http://juliagpu.github.io/CUDAnative.jl/stable
[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg
[docs-latest-url]: http://juliagpu.github.io/CUDAnative.jl/latest
[docs-latest-url]: https://juliagpu.gitlab.io/CUDAnative.jl/

[doi-img]: https://zenodo.org/badge/DOI/10.1109/TPDS.2018.2872064.svg
[doi-url]: https://doi.org/10.1109/TPDS.2018.2872064
Expand Down
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ using Documenter, CUDAnative

makedocs(
modules = [CUDAnative],
format = :html,
format = Documenter.HTML(),
sitename = "CUDAnative.jl",
pages = [
"Home" => "index.md",
Expand Down

0 comments on commit 830f144

Please sign in to comment.