Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
ci: pin Scream 3.6 for the virtual audio device and bound the install step
Richie McIlroy69dc60f7a157
diff --git a/.github/workflows/sync-tests.yml b/.github/workflows/sync-tests.ymlindex 90589607c..639f4368f 100644--- a/.github/workflows/sync-tests.yml+++ b/.github/workflows/sync-tests.yml@@ -86,21 +86,27 @@ jobs:# card. Scream provides a signed null render device; with it installed,# the loopback keepalive, AUDCLNT_BUFFERFLAGS_SILENT zeroing and QPC# capture timestamps are exercised against a real audio engine.+ #+ # Pinned to 3.6: later releases (3.8/4.0) were signed after the 2021+ # kernel cross-signing deprecation and PnP blocks their install on an+ # interactive consent prompt, which hangs headless runners. The step+ # timeout turns any such hang into a fast failure.- name: Install virtual audio device (Windows)if: runner.os == 'Windows'+ timeout-minutes: 10shell: pwshrun: |- Invoke-WebRequest -Uri https://github.com/duncanthrax/scream/releases/download/4.0/Scream4.0.zip -OutFile Scream4.0.zip- $expected = "fa33e25f9a46c61e4e0cd83362c51c3d2a45c6fe4091aad7507e240e40f1a520"- $actual = (Get-FileHash -Algorithm SHA256 Scream4.0.zip).Hash.ToLowerInvariant()- if ($actual -ne $expected) { throw "Scream4.0.zip SHA-256 mismatch: got $actual, expected $expected" }- Expand-Archive -Path Scream4.0.zip -DestinationPath Scream- $cert = (Get-AuthenticodeSignature Scream\Install\driver\x64\Scream.sys).SignerCertificate+ Invoke-WebRequest -Uri https://github.com/duncanthrax/scream/releases/download/3.6/Scream3.6.zip -OutFile Scream3.6.zip+ $expected = "25ea5e778b4e6995a98d448b9b5f6d321f681663f1aeeec69d8e63183d008b19"+ $actual = (Get-FileHash -Algorithm SHA256 Scream3.6.zip).Hash.ToLowerInvariant()+ if ($actual -ne $expected) { throw "Scream3.6.zip SHA-256 mismatch: got $actual, expected $expected" }+ Expand-Archive -Path Scream3.6.zip -DestinationPath Scream+ $cert = (Get-AuthenticodeSignature Scream\Install\driver\Scream.sys).SignerCertificate$store = [System.Security.Cryptography.X509Certificates.X509Store]::new("TrustedPublisher", "LocalMachine")$store.Open("ReadWrite")$store.Add($cert)$store.Close()- Scream\Install\helpers\devcon-x64.exe install Scream\Install\driver\x64\Scream.inf *Scream+ Scream\Install\helpers\devcon.exe install Scream\Install\driver\Scream.inf *Screamif ($LASTEXITCODE -gt 1) { throw "devcon install failed with exit code $LASTEXITCODE" }Start-Service -Name Audiosrv -ErrorAction SilentlyContinue