Skip to content

Commit

Permalink
Try sound-ci-helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
raub committed Nov 20, 2023
1 parent 7ec5673 commit 6e8125a
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,31 +43,8 @@ jobs:
- name: Build Current Binary
run: npm run build

- name: Print Audio Device 1
if: matrix.os == 'windows-2022'
shell: powershell
run: Get-CimInstance Win32_SoundDevice | fl *

- name: Install Scream
if: matrix.os == 'windows-2022'
shell: powershell
run: |
Start-Service audio*
Invoke-WebRequest https://github.com/duncanthrax/scream/releases/download/3.6/Scream3.6.zip -OutFile C:\Scream3.6.zip
Extract-7Zip -Path C:\Scream3.6.zip -DestinationPath C:\Scream
$cert = (Get-AuthenticodeSignature C:\Scream\Install\driver\Scream.sys).SignerCertificate
$store = [System.Security.Cryptography.X509Certificates.X509Store]::new("TrustedPublisher", "LocalMachine")
$store.Open("ReadWrite")
$store.Add($cert)
$store.Close()
cd C:\Scream\Install\driver
C:\Scream\Install\helpers\devcon install Scream.inf *Scream
- name: Print Audio Device 2
shell: powershell
if: matrix.os == 'windows-2022'
run: Get-CimInstance Win32_SoundDevice | fl *
- name: Provide Audio Device
uses: LABSN/sound-ci-helpers@v1

- name: Run Unit Tests
if: matrix.os == 'windows-2022' || matrix.os == 'macos-11'
run: npm test

0 comments on commit 6e8125a

Please sign in to comment.