From 6e8125a7b363979999f0891a69d2e1e9f0597de3 Mon Sep 17 00:00:00 2001 From: Luis Blanco Date: Mon, 20 Nov 2023 22:44:00 +0400 Subject: [PATCH] Try sound-ci-helpers --- .github/workflows/test.yml | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f53aff4..ec9005b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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