[tracker-miners/sam/libav-testing: 2/12] Test the libav backend in CI




commit 8a86b6de4eea8948d98d67dc7d8b45876b08eda4
Author: Sam Thursfield <sam afuera me uk>
Date:   Sun Aug 28 20:38:12 2022 +0200

    Test the libav backend in CI
    
    If we are going to carry this backend we need to test it! :-)
    
    Fixes https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/54

 .gitlab-ci.yml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b5ab5ebdf..1ac9a45d1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -193,6 +193,16 @@ check-code-style:
     paths:
       - build
 
+.build-libav-template: &build-libav
+  <<: *build
+  script:
+    - .gitlab-ci/checkout-tracker.sh
+    - echo "Building tracker.git commit $(git -C ./subprojects/tracker rev-parse HEAD)"
+    - mkdir build
+    - cd build
+    - meson .. --prefix=/usr -Dtracker_core=subproject -Db_lto=true -Db_coverage=true 
-Dtests_tap_protocol=true -Dtracker:docs=false -Dgeneric_media_extractor=libav
+    - ninja
+
 build-fedora@x86_64:
   extends:
     - .fdo.distribution-image@fedora
@@ -201,6 +211,14 @@ build-fedora@x86_64:
     - build-fedora-container@x86_64
   <<: *build
 
+build-libav-fedora@x86_64:
+  extends:
+    - .fdo.distribution-image@fedora
+    - .tracker-miners.fedora:36@x86_64
+  needs:
+    - build-fedora-container@x86_64
+  <<: *build-libav
+
 build-fedora-rawhide@x86_64:
   extends:
     - .fdo.distribution-image@fedora
@@ -272,6 +290,14 @@ test-fedora@x86_64:
     - build-fedora@x86_64
   <<: *test
 
+test-libav-fedora@x86_64:
+  extends:
+    - .fdo.distribution-image@fedora
+    - .tracker-miners.fedora:36@x86_64
+  needs:
+    - build-libav-fedora@x86_64
+  <<: *test
+
 test-fedora-rawhide@x86_64:
   extends:
     - .fdo.distribution-image@fedora


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]