diff options
author | Jordan Petridis <jordan@centricular.com> | 2021-10-19 09:45:07 +0300 |
---|---|---|
committer | Jordan Petridis <jordan@centricular.com> | 2022-11-29 22:18:46 +0300 |
commit | 975f0141be9353e3334c6df36d388fce97acf337 (patch) | |
tree | fb142cc890f6772b76c0297003f8c449a9a06537 /ci | |
parent | 51c34267a97f576e8a31107c172b7d41f1e80ab0 (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-x | ci/generate-static-test.py | 2 | ||||
-rw-r--r-- | ci/run_windows_tests.ps1 | 13 |
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" |