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
8c254c8f
Commit
8c254c8f
authored
Oct 17, 2022
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: Expose full code coverage report to GitLab
parent
6f225558
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
.gitlab-ci.yml
.gitlab-ci.yml
+5
-2
tests/docker/centos7-meson/Dockerfile
tests/docker/centos7-meson/Dockerfile
+0
-1
tests/docker/centos7-meson/pip-installs.sh
tests/docker/centos7-meson/pip-installs.sh
+1
-0
No files found.
.gitlab-ci.yml
View file @
8c254c8f
...
@@ -25,7 +25,7 @@ include:
...
@@ -25,7 +25,7 @@ include:
.libnice.centos:7:
.libnice.centos:7:
variables
:
variables
:
FDO_DISTRIBUTION_VERSION
:
'
7'
FDO_DISTRIBUTION_VERSION
:
'
7'
FDO_DISTRIBUTION_TAG
:
'
2022-10-17'
FDO_DISTRIBUTION_TAG
:
'
2022-10-17
-cov
'
FDO_UPSTREAM_REPO
:
'
libnice/libnice'
FDO_UPSTREAM_REPO
:
'
libnice/libnice'
check-allow-collaboration
:
check-allow-collaboration
:
...
@@ -240,10 +240,14 @@ test:
...
@@ -240,10 +240,14 @@ test:
-
ninja -C build/
-
ninja -C build/
-
meson test -C build/ --setup debug
-
meson test -C build/ --setup debug
-
ninja -C build coverage
-
ninja -C build coverage
-
lcov_cobertura build/meson-logs/coverage.info -o build/meson-logs/coverage.xml
coverage
:
'
/lines......:
\d+\.\d+%
/'
coverage
:
'
/lines......:
\d+\.\d+%
/'
artifacts
:
artifacts
:
reports
:
reports
:
junit
:
build/meson-logs/testlog-*.junit.xml
junit
:
build/meson-logs/testlog-*.junit.xml
coverage_report
:
coverage_format
:
cobertura
path
:
build/meson-logs/coverage.xml
when
:
on_failure
when
:
on_failure
paths
:
paths
:
-
build/meson-logs/
-
build/meson-logs/
...
@@ -257,7 +261,6 @@ test valgrind:
...
@@ -257,7 +261,6 @@ test valgrind:
-
ninja -C build/
-
ninja -C build/
-
meson test -C build/ --setup valgrind --print-errorlogs
-
meson test -C build/ --setup valgrind --print-errorlogs
doc-and-install
:
doc-and-install
:
stage
:
test
stage
:
test
extends
:
extends
:
...
...
tests/docker/centos7-meson/Dockerfile
View file @
8c254c8f
...
@@ -19,4 +19,3 @@ RUN yum -y install git gtk-doc gnutls-devel gupnp-igd-devel gstreamer1-devel gob
...
@@ -19,4 +19,3 @@ RUN yum -y install git gtk-doc gnutls-devel gupnp-igd-devel gstreamer1-devel gob
ADD
pip-installs.sh /
ADD
pip-installs.sh /
RUN
bash
-ex
/pip-installs.sh
&&
rm
/pip-installs.sh
RUN
bash
-ex
/pip-installs.sh
&&
rm
/pip-installs.sh
tests/docker/centos7-meson/pip-installs.sh
View file @
8c254c8f
...
@@ -6,6 +6,7 @@ yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarc
...
@@ -6,6 +6,7 @@ yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarc
yum
-y
install
rh-python36 lcov
yum
-y
install
rh-python36 lcov
scl
enable
rh-python36
"pip3 install meson==0.60.3"
scl
enable
rh-python36
"pip3 install meson==0.60.3"
scl
enable
rh-python36
"pip3 install lcov-cobertura"
scl
enable
rh-python36
"pip3 install ninja"
scl
enable
rh-python36
"pip3 install ninja"
yum clean all
yum clean all
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