mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-06-02 08:22:01 +00:00
ci: windows: build GTK4 crate
It's ignored when building using --all-features because of X11 and Wayland deps, but we can build it manually. Try building with and without the winegl feature.
This commit is contained in:
parent
995f64513d
commit
d21e147085
|
@ -44,6 +44,32 @@ function Run-Tests {
|
|||
}
|
||||
}
|
||||
|
||||
function Run-Tests-Gtk4 {
|
||||
param (
|
||||
$Features
|
||||
)
|
||||
|
||||
Write-Host "GTK4 Features: $Features"
|
||||
|
||||
cargo build --color=always --package gst-plugin-gtk4 --all-targets $Features
|
||||
|
||||
if (!$?) {
|
||||
Write-Host "Build failed"
|
||||
Exit 1
|
||||
}
|
||||
|
||||
$env:G_DEBUG="fatal_warnings"
|
||||
cargo test --no-fail-fast --color=always --package gst-plugin-gtk4 --all-targets $Features
|
||||
|
||||
if (!$?) {
|
||||
Write-Host "Tests failed"
|
||||
Exit 1
|
||||
}
|
||||
}
|
||||
|
||||
foreach($feature in $features_matrix) {
|
||||
Run-Tests -Features $feature
|
||||
}
|
||||
|
||||
Run-Tests-Gtk4 -Features @()
|
||||
Run-Tests-Gtk4 -Features @("--features", "winegl")
|
Loading…
Reference in a new issue