diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2018-08-22 11:34:23 +0300 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2018-08-22 11:34:23 +0300 |
commit | 3e0438fd9356054607f06488258bb2270f634c1c (patch) | |
tree | 526cc189a9c5e52db156b7125d5864aff3a0a841 | |
parent | 090d3dba7abdb1a997b0126b59846dba69a4b975 (diff) |
gitlab-ci: Also build the doc to put it in pagestest-build-pages
-rw-r--r-- | .gitlab-ci.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a79f103..3ad31c8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,7 @@ image: registry.freedesktop.org/libnice/libnice/build-tools:centos-7 stages: - build + - doc build-and-test: stage: build @@ -40,3 +41,16 @@ submit-to-coverity: - cov-build --dir cov-int make -j4 - tar czvf libnice.tgz cov-int - curl --form token=$COVERITY_TOKEN --form email=olivier.crete@ocrete.ca --form file=@libnice.tgz --form version="${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHA}" --form description="CI weekly run" https://scan.coverity.com/builds?project=libnice + +build-doc: + stage: doc + script: + - export MAKEFLAGS="-j4" + - ./autogen.sh --enable-compile-warnings=error --enable-gtk-doc --enable-introspection + - make + - mkdir public + - cp -a docs/reference/libnice/html/* public/ + artifacts: + when: on_success + paths: + - public |