Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
medialibrary
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
57
Issues
57
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
medialibrary
Commits
c6a82a69
Commit
c6a82a69
authored
Jan 21, 2019
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: Add code coverage configuration
parent
ec580ba6
Pipeline
#4056
passed with stage
in 5 minutes and 33 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
+44
-0
.gitlab-ci.yml
.gitlab-ci.yml
+44
-0
No files found.
.gitlab-ci.yml
View file @
c6a82a69
...
...
@@ -11,6 +11,8 @@ build:linux:
tags
:
-
debian
-
amd64
except
:
-
schedules
stage
:
build
script
:
-
./bootstrap
...
...
@@ -28,6 +30,8 @@ unit-tests:linux:
tags
:
-
debian
-
amd64
except
:
-
schedules
stage
:
unit-tests
dependencies
:
-
build:linux
...
...
@@ -39,6 +43,8 @@ functional-tests:linux:
tags
:
-
debian
-
amd64
except
:
-
schedules
stage
:
functional-tests
dependencies
:
-
build:linux
...
...
@@ -49,6 +55,8 @@ build:win32:
image
:
registry.videolan.org:5000/medialibrary-win32:20190121122230
tags
:
-
win32
except
:
-
schedules
stage
:
build
script
:
-
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/prefix/lib/pkgconfig"
...
...
@@ -66,6 +74,8 @@ unit-tests:win32:
image
:
registry.videolan.org:5000/medialibrary-win32:20190121122230
tags
:
-
win32
except
:
-
schedules
stage
:
unit-tests
dependencies
:
-
build:win32
...
...
@@ -81,6 +91,8 @@ functional-tests:win32:
image
:
registry.videolan.org:5000/medialibrary-win32:20190121122230
tags
:
-
win32
except
:
-
schedules
stage
:
functional-tests
dependencies
:
-
build:win32
...
...
@@ -95,6 +107,8 @@ build:win64:
tags
:
-
win64
stage
:
build
except
:
-
schedules
script
:
-
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/prefix/lib/pkgconfig"
-
./bootstrap
...
...
@@ -111,6 +125,8 @@ unit-tests:win64:
image
:
registry.videolan.org:5000/medialibrary-win64:20190121124804
tags
:
-
win64
except
:
-
schedules
stage
:
unit-tests
dependencies
:
-
build:win64
...
...
@@ -124,6 +140,8 @@ functional-tests:win64:
image
:
registry.videolan.org:5000/medialibrary-win64:20190121124804
tags
:
-
win64
except
:
-
schedules
stage
:
functional-tests
dependencies
:
-
build:win64
...
...
@@ -132,3 +150,29 @@ functional-tests:win64:
-
cp /prefix/dll/libvlccore.dll .
-
ln -s /prefix/lib/vlc/plugins/ .
-
wine samples.exe -v
build-and-coverage
:
image
:
registry.videolan.org:5000/medialibrary:20190121111050
tags
:
-
debian
-
amd64
only
:
-
schedules
stage
:
build
script
:
-
./bootstrap
-
CXXFLAGS='--coverage -g -O0' LDFLAGS='--coverage -g -O0' ./configure --enable-tests
-
make -j4 check
-
./unittest && ./samples
-
lcov --capture --directory . -o coverage.info
-
lcov --remove coverage.info "/usr/*" -o coverage.info
-
lcov --remove coverage.info "/prefix/*" -o coverage.info
-
lcov --remove coverage.info "$CI_PROJECT_DIR/test/*" -o coverage.info
-
lcov --remove coverage.info "$CI_PROJECT_DIR/googletest/*" -o coverage.info
-
lcov --summary coverage.info
-
genhtml coverage.info --output-directory html/
artifacts
:
name
:
"
coverage-medialibrary-$CI_COMMIT_SHORT_SHA"
paths
:
-
html/
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