ci: add FFmpeg preflight workflow and helpers

This commit is contained in:
2026-01-13 08:44:17 +01:00
parent 98a6ba88fc
commit 7b88022b66
4 changed files with 214 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
fn main() {
// Call the library's FFmpeg preflight check used by the application.
match radio_tauri_lib::player::preflight_ffmpeg_only() {
Ok(()) => {
println!("FFmpeg preflight OK");
std::process::exit(0);
}
Err(e) => {
eprintln!("FFmpeg preflight failed: {}", e);
std::process::exit(2);
}
}
}