From 13165fa9c08a836045b263cb53a9c1724e4c3726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Fri, 22 Dec 2023 11:40:59 +0100 Subject: [PATCH] ci: use release build for windows Create an image with release build of gstreamer and gtk --- ci/build_gps.ps1 | 2 +- ci/images_template.yml | 2 +- ci/windows-docker/install_gst.ps1 | 2 +- ci/windows-docker/install_gtk.ps1 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/build_gps.ps1 b/ci/build_gps.ps1 index 2d66f1e..60d010d 100644 --- a/ci/build_gps.ps1 +++ b/ci/build_gps.ps1 @@ -1,4 +1,4 @@ -$env:MESON_ARGS = "--prefix=C:\gst-install\" +$env:MESON_ARGS = "--prefix=C:\gst-install\ -Dbuildtype=release" cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=amd64 && meson _build $env:MESON_ARGS && meson compile -C _build && ninja -C _build install" if (!$?) { Write-Host "Failed to build and install GstPipelineStudio" diff --git a/ci/images_template.yml b/ci/images_template.yml index 1381fa6..447ef4a 100644 --- a/ci/images_template.yml +++ b/ci/images_template.yml @@ -1,4 +1,4 @@ variables: - GST_RS_WIN_IMG_TAG: "2023-08-31.0" + GST_RS_WIN_IMG_TAG: "2023-12-22.0" GST_RS_FDO_IMG_TAG: "2023-08-25.1" GST_RS_STABLE: "1.70.0" diff --git a/ci/windows-docker/install_gst.ps1 b/ci/windows-docker/install_gst.ps1 index 56a9fb6..4611cca 100644 --- a/ci/windows-docker/install_gst.ps1 +++ b/ci/windows-docker/install_gst.ps1 @@ -26,7 +26,7 @@ if (!$?) { Exit 1 } -$env:MESON_ARGS = "--prefix=C:\gst-install\ " + +$env:MESON_ARGS = "--prefix=C:\gst-install\ -Dbuildtype=release " + "-Dglib:installed_tests=false " + "-Dlibnice:tests=disabled " + "-Dlibnice:examples=disabled " + diff --git a/ci/windows-docker/install_gtk.ps1 b/ci/windows-docker/install_gtk.ps1 index 561e337..15cda4a 100644 --- a/ci/windows-docker/install_gtk.ps1 +++ b/ci/windows-docker/install_gtk.ps1 @@ -1,6 +1,6 @@ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; -$env:MESON_ARGS = "--prefix=C:\gst-install\" +$env:MESON_ARGS = "--prefix=C:\gst-install\ -Dbuildtype=release" # Download gtk and all its subprojects git clone -b $env:DEFAULT_GTK_BRANCH --depth 1 https://gitlab.gnome.org/gnome/gtk.git C:\gtk