Commit 9bed3bed authored by Marco Trevisan's avatar Marco Trevisan Committed by Bastien Nocera
Browse files

ci: Add jobs to build and run tests using meson

parent 1a094c1a
...@@ -24,7 +24,7 @@ variables: ...@@ -24,7 +24,7 @@ variables:
# So we don't get error about this libfprint file # So we don't get error about this libfprint file
- echo "libfprint/demo/gtk-libfprint-test.ui" >> po/POTFILES.skip - 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 # FIXME: Stable builds will fail until libfprintv 2 reaches rawhide
allow_failure: true allow_failure: true
before_script: before_script:
...@@ -34,14 +34,14 @@ build_stable: ...@@ -34,14 +34,14 @@ build_stable:
- make - make
- make install - make install
build_dev: build_dev_autotools:
<<: *install_libfprint_dev <<: *install_libfprint_dev
script: script:
- ./autogen.sh --disable-dependency-tracking - ./autogen.sh --disable-dependency-tracking
- make - make
- make install - make install
test_dev: test_dev_autotools:
stage: test stage: test
<<: *install_libfprint_dev <<: *install_libfprint_dev
script: script:
...@@ -53,3 +53,37 @@ test_dev: ...@@ -53,3 +53,37 @@ test_dev:
when: always when: always
paths: paths:
- tests/*.log - 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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment