Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorJordan Petridis <jordan@centricular.com>2021-10-19 09:45:07 +0300
committerJordan Petridis <jordan@centricular.com>2022-11-29 22:18:46 +0300
commit975f0141be9353e3334c6df36d388fce97acf337 (patch)
treefb142cc890f6772b76c0297003f8c449a9a06537 /ci
parent51c34267a97f576e8a31107c172b7d41f1e80ab0 (diff)
video/gtk4: Implement support for GLTextures when possible.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/588>
Diffstat (limited to 'ci')
-rwxr-xr-xci/generate-static-test.py2
-rw-r--r--ci/run_windows_tests.ps113
2 files changed, 11 insertions, 4 deletions
diff --git a/ci/generate-static-test.py b/ci/generate-static-test.py
index 0f5bb6d3..68c5d4cd 100755
--- a/ci/generate-static-test.py
+++ b/ci/generate-static-test.py
@@ -8,7 +8,7 @@ from utils import iterate_plugins
# the csound version used on ci does not ship a .pc file
# threadshare we skip in meson static build as well
-IGNORE = ['csound', 'threadshare']
+IGNORE = ['csound', 'threadshare', 'gtk4']
outdir = sys.argv[1]
diff --git a/ci/run_windows_tests.ps1 b/ci/run_windows_tests.ps1
index 7c2b5405..14e50645 100644
--- a/ci/run_windows_tests.ps1
+++ b/ci/run_windows_tests.ps1
@@ -17,11 +17,18 @@ function Run-Tests {
param (
$Features
)
+ $local_exclude = $exclude_crates;
+
+ # In this case the plugin will pull x11/wayland features
+ # which will fail to build on windows.
+ if (($Features -eq '--all-features') -or ($Features -eq '')) {
+ $local_exclude += @("--exclude", "gst-plugin-gtk4")
+ }
Write-Host "Features: $Features"
- Write-Host "Exclude string: $exclude_crates"
+ Write-Host "Exclude string: $local_exclude"
- cargo build --color=always --workspace $exclude_crates --all-targets $Features
+ cargo build --color=always --workspace $local_exclude --all-targets $Features
if (!$?) {
Write-Host "Build failed"
@@ -29,7 +36,7 @@ function Run-Tests {
}
$env:G_DEBUG="fatal_warnings"
- cargo test --no-fail-fast --color=always --workspace $exclude_crates --all-targets $Features
+ cargo test --no-fail-fast --color=always --workspace $local_exclude --all-targets $Features
if (!$?) {
Write-Host "Tests failed"