mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-05-23 10:48:12 +00:00
Merge branch 'gtk4-win-ci' into 'main'
ci: windows: build GTK4 crate See merge request gstreamer/gst-plugins-rs!1418
This commit is contained in:
commit
00e449c608
|
@ -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