gitlab: build gst-omx with tizonia as target
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Thu, 19 Dec 2019 07:20:14 +0000 (12:50 +0530)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Tue, 10 Mar 2020 03:48:14 +0000 (03:48 +0000)
Build just the minimum to be able to build gst-omx with this specific
target.

gitlab/ci_template.yml

index 1910633..726919a 100644 (file)
@@ -1045,6 +1045,22 @@ build gst-omx zynq fedora x86_64:
     variables:
       - $CI_PROJECT_NAME =~ /^(gst-omx|gst-ci)$/
 
+build gst-omx tizonia fedora x86_64:
+  extends: 'build fedora x86_64'
+  variables:
+    MESON_ARGS: "-Domx=enabled -Dgst-omx:target=tizonia -Dpython=disabled -Dlibav=disabled -Dlibnice=disabled -Dugly=disabled -Dbad=disabled -Ddevtools=disabled -Dges=disabled -Drtsp_server=disabled -Dvaapi=disabled -Dsharp=disabled -Dgst-examples=disabled -Drs=disabled ${MESON_BUILDTYPE_ARGS} --werror"
+    PKG_CONFIG_PATH: ${PKG_CONFIG_PATH}:${CI_PROJECT_DIR}/tizonia-install/lib64/pkgconfig/
+  before_script:
+    - git clone https://github.com/tizonia/tizonia-openmax-il --branch v0.20.2
+    - cd tizonia-openmax-il
+    - meson build -Dclients=false -Dplugins='' -Dplayer=false -Dprefix=${CI_PROJECT_DIR}/tizonia-install
+    - ninja -C build
+    - ninja -C build install
+    - cd ..
+  only:
+    variables:
+      - $CI_PROJECT_NAME =~ /^(gst-omx|gst-ci)$/
+
 build rust fedora x86_64:
   extends: 'build fedora x86_64'
   variables: