Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(windows): Replace virtual audio device Scream with sound-ci-helpers #1603

Merged
merged 5 commits into from
Aug 17, 2023
Merged
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
21 changes: 10 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,17 +260,16 @@ jobs:
- uses: bluefireteam/melos-action@main
- name: Start audio server
run: net start audiosrv
- name: Install virtual audio device
timeout-minutes: 1
shell: powershell
# TODO(gustl22): Remove workaround of setting the time when virtual audio device certificate is valid again (#1573)
run: |
Invoke-WebRequest https://github.com/duncanthrax/scream/releases/download/4.0/Scream4.0.zip -OutFile Scream.zip
Expand-Archive -Path Scream.zip -DestinationPath Scream
Set-Date (Get-Date "2023-07-04 12:00:00"); $currentDate = Get-Date; Write-Host "Current System Date: $currentDate";
Import-Certificate -FilePath Scream\Install\driver\x64\Scream.cat -CertStoreLocation Cert:\LocalMachine\TrustedPublisher
Scream\Install\helpers\devcon-x64.exe install Scream\Install\driver\x64\Scream.inf *Scream
w32tm /resync /force; $currentDate = Get-Date; Write-Host "Current System Date: $currentDate";
# TODO(gustl22): Remove sound-ci-helpers and enable virtual audio device, when certificate is valid again (#1573)
- uses: LABSN/sound-ci-helpers@v1
#- name: Install virtual audio device
# timeout-minutes: 1
# shell: powershell
# run: |
# Invoke-WebRequest https://github.com/duncanthrax/scream/releases/download/4.0/Scream4.0.zip -OutFile Scream.zip
# Expand-Archive -Path Scream.zip -DestinationPath Scream
# Import-Certificate -FilePath Scream\Install\driver\x64\Scream.cat -CertStoreLocation Cert:\LocalMachine\TrustedPublisher
# Scream\Install\helpers\devcon-x64.exe install Scream\Install\driver\x64\Scream.inf *Scream
- name: Run Flutter integration tests
shell: powershell
working-directory: ./packages/audioplayers/example
Expand Down