@@ -108,7 +108,7 @@ jobs:
108
108
gem install test-unit
109
109
if : matrix.os == 'windows-latest'
110
110
111
- # Install gems Linux/Max - needs sudo
111
+ # Install gems Linux - needs sudo
112
112
- name : Setup Ruby Gems
113
113
working-directory : ${{github.workspace}}/app
114
114
run : |
@@ -304,21 +304,22 @@ jobs:
304
304
ctest --verbose
305
305
if : matrix.os == 'ubuntu-latest'
306
306
307
- - name : API Tests Windows - Install Scream Audio Device
308
- shell : powershell
307
+ - name : Debug API Tests Directory (Windows)
308
+ shell : cmd
309
309
run : |
310
- Start-Service audio*
311
- Invoke-WebRequest https://github.com/duncanthrax/scream/releases/download/3.6/Scream3.6.zip -OutFile C:\Scream3.6.zip
312
- Expand-7ZipArchive -Path C:\Scream3.6.zip -DestinationPath C:\Scream
313
- $cert = (Get-AuthenticodeSignature C:\Scream\Install\driver\Scream.sys).SignerCertificate
314
- $store = [System.Security.Cryptography.X509Certificates.X509Store]::new("TrustedPublisher", "LocalMachine")
315
- $store.Open("ReadWrite")
316
- $store.Add($cert)
317
- $store.Close()
318
- cd C:\Scream\Install\driver
319
- C:\Scream\Install\helpers\devcon install Scream.inf *Scream
310
+ echo Current directory is %CD%
311
+ echo GITHUB_WORKSPACE is %GITHUB_WORKSPACE%
312
+ echo Listing contents of %GITHUB_WORKSPACE%\app\build:
313
+ dir "%GITHUB_WORKSPACE%\app\build"
314
+ if not exist "%GITHUB_WORKSPACE%\app\build\api-tests" (
315
+ echo "Directory %GITHUB_WORKSPACE%\app\build\api-tests does not exist. Creating it now."
316
+ mkdir "%GITHUB_WORKSPACE%\app\build\api-tests"
317
+ ) else (
318
+ echo "Directory %GITHUB_WORKSPACE%\app\build\api-tests exists."
319
+ )
320
320
if : matrix.os == 'windows-latest'
321
321
322
+ # --- Windows API tests step ---
322
323
- name : API Tests - Windows
323
324
shell : cmd
324
325
working-directory : ${{ github.workspace }}\app\build\api-tests
@@ -327,6 +328,7 @@ jobs:
327
328
run : ctest --verbose
328
329
if : matrix.os == 'windows-latest'
329
330
331
+
330
332
- name : Archive Logs
331
333
uses : actions/upload-artifact@v4
332
334
if : ${{ always() }}
0 commit comments