...
 
Commits (1)
image: registry.freedesktop.org/libnice/libnice/build-tools:centos-7 image: registry.freedesktop.org/libnice/libnice/build-tools:centos-7
stages: stages:
- build - build
- doc
build-and-test: build-and-test:
stage: build stage: build
...@@ -40,3 +41,16 @@ submit-to-coverity: ...@@ -40,3 +41,16 @@ submit-to-coverity:
- cov-build --dir cov-int make -j4 - cov-build --dir cov-int make -j4
- tar czvf libnice.tgz cov-int - 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 - 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