Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
090d3dba
Commit
090d3dba
authored
Jun 19, 2018
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add GitLab CI configuration
parent
da0f0067
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
+42
-0
.gitlab-ci.yml
.gitlab-ci.yml
+42
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
090d3dba
image
:
registry.freedesktop.org/libnice/libnice/build-tools:centos-7
stages
:
-
build
build-and-test
:
stage
:
build
except
:
-
schedules
before_script
:
-
yum install -y net-tools
script
:
-
ifconfig
-
export BUILD_ID="libnice-$CI_JOB_NAME_$CI_COMMIT_SHA-$CI_JOB_ID"
-
export PREFIX="$(pwd)/prefix-$BUILD_ID"
-
export MAKEFLAGS="-j4"
-
mkdir "$PREFIX"
-
./autogen.sh --prefix="$PREFIX" --enable-compile-warnings=error --enable-gtk-doc --enable-introspection
-
make
#- make check
-
make install
#- make distcheck
artifacts
:
when
:
on_failure
paths
:
-
nice/test-suite.log
-
random/test-suite.log
-
tests/test-suite.log
-
stun/tests/test-suite.log
-
config.log
submit-to-coverity
:
image
:
registry.freedesktop.org/libnice/libnice/build-tools/coverity:2017.07
stage
:
build
only
:
-
schedules
script
:
-
./autogen.sh --prefix="$PREFIX" --disable-gtk-doc --disable-introspection
-
make clean
-
export PATH="$PATH:/root/cov-analysis-linux64-2017.07/bin"
-
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment