Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
libfprint
fprintd
Commits
9bed3bed
Commit
9bed3bed
authored
Jan 24, 2020
by
Marco Trevisan
Committed by
Bastien Nocera
Feb 05, 2020
Browse files
ci: Add jobs to build and run tests using meson
parent
1a094c1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9bed3bed
...
...
@@ -24,7 +24,7 @@ variables:
# So we don't get error about this libfprint file
-
echo "libfprint/demo/gtk-libfprint-test.ui" >> po/POTFILES.skip
build_stable
:
build_stable
_autotools
:
# FIXME: Stable builds will fail until libfprintv 2 reaches rawhide
allow_failure
:
true
before_script
:
...
...
@@ -34,14 +34,14 @@ build_stable:
-
make
-
make install
build_dev
:
build_dev
_autotools
:
<<
:
*install_libfprint_dev
script
:
-
./autogen.sh --disable-dependency-tracking
-
make
-
make install
test_dev
:
test_dev
_autotools
:
stage
:
test
<<
:
*install_libfprint_dev
script
:
...
...
@@ -53,3 +53,37 @@ test_dev:
when
:
always
paths
:
-
tests/*.log
build_stable_meson
:
# FIXME: Stable builds will fail until libfprintv 2 reaches rawhide
allow_failure
:
true
before_script
:
-
dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES_STABLE
script
:
-
meson _build
-
ninja -C _build -v
-
ninja -C _build -v install
build_dev_meson
:
<<
:
*install_libfprint_dev
script
:
-
meson _build
-
ninja -C _build -v
-
ninja -C _build -v install
artifacts
:
name
:
log
when
:
on_failure
paths
:
-
_build/meson-logs/*.txt
test_dev_meson
:
stage
:
test
<<
:
*install_libfprint_dev
script
:
-
meson _build
-
meson test -C _build --verbose --no-stdsplit --timeout-multiplier
3
artifacts
:
name
:
log
when
:
always
paths
:
-
_build/meson-logs/*.txt
Write
Preview
Supports
Markdown
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