mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 03:45:24 +00:00
ci: Initial set up of docs building to pages.
This commit is contained in:
parent
0f9b5786f3
commit
ec760693a8
|
@ -23,6 +23,7 @@ include:
|
||||||
stages:
|
stages:
|
||||||
- container_prep
|
- container_prep
|
||||||
- build
|
- build
|
||||||
|
- deploy
|
||||||
|
|
||||||
debian:container_prep:
|
debian:container_prep:
|
||||||
extends: .debian@container-ifnot-exists
|
extends: .debian@container-ifnot-exists
|
||||||
|
@ -51,6 +52,9 @@ debian:build-cmake:
|
||||||
- pushd build
|
- pushd build
|
||||||
- cmake -GNinja ..
|
- cmake -GNinja ..
|
||||||
- ninja
|
- ninja
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- build/doc/html/
|
||||||
|
|
||||||
arch:build-cmake:
|
arch:build-cmake:
|
||||||
stage: build
|
stage: build
|
||||||
|
@ -60,3 +64,18 @@ arch:build-cmake:
|
||||||
- pushd build
|
- pushd build
|
||||||
- cmake -GNinja ..
|
- cmake -GNinja ..
|
||||||
- ninja
|
- ninja
|
||||||
|
|
||||||
|
###
|
||||||
|
# Pages
|
||||||
|
###
|
||||||
|
pages:
|
||||||
|
stage: deploy
|
||||||
|
# only:
|
||||||
|
# - master
|
||||||
|
dependencies:
|
||||||
|
- debian:build-cmake
|
||||||
|
script:
|
||||||
|
- mv build/doc/html public
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
|
Loading…
Reference in a new issue