Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/workflows/ci-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,24 @@ jobs:

- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2

# choco exits 0 even when the community feed answers 503, so a failed
# install used to surface five minutes later as nineteen tests panicking
# on "ffmpeg: program not found". Retry the transient failure, then prove
# both binaries are callable so this step fails where the cause is.
- name: Install FFmpeg
run: choco install ffmpeg --yes --no-progress
shell: pwsh
run: |
$ErrorActionPreference = 'Continue'
$env:PATH = "$env:PATH;$env:ProgramData\chocolatey\bin"
foreach ($attempt in 1..3) {
choco install ffmpeg --yes --no-progress
if (Get-Command ffmpeg -ErrorAction SilentlyContinue) { break }
Write-Host "::warning::FFmpeg install attempt $attempt did not produce a binary; retrying."
Start-Sleep -Seconds 20
}
$ErrorActionPreference = 'Stop'
ffmpeg -version
ffprobe -version

- name: cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings
Expand Down
1 change: 1 addition & 0 deletions webapp/src/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="vite/client" />
Loading