Skip to content

Commit

Permalink
👷 Bump scream version
Browse files Browse the repository at this point in the history
The (truncated) error log was:
```
Updating drivers for *Scream from D:\a\pycaw\pycaw\Scream\Install\driver\x64\Scream.inf.
Error: The operation was canceled.
```
  • Loading branch information
AndreMiras committed Feb 12, 2024
1 parent 49606fd commit f3673b2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push]

jobs:
pypi:
runs-on: windows-2019
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
22 changes: 15 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,36 @@ on: [push, pull_request]

jobs:
linter:
runs-on: windows-2019
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: pip install tox
- run: tox -e lint-check
test:
runs-on: windows-2019
runs-on: windows-2022
strategy:
matrix:
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
# TODO
# python: ['3.8', '3.9', '3.10', '3.11', '3.12']
python: ['3.10']

steps:
- uses: actions/checkout@v4
# Virtual network sound card for Microsoft Windows
- name: Install Scream
env:
VERSION: '4.0'
shell: powershell
# TODO
# - run: net start audiosrv
# https://github.com/actions/runner-images/issues/2528#issuecomment-1050295010
run: |
Invoke-WebRequest https://github.com/duncanthrax/scream/releases/download/3.8/Scream3.8.zip -OutFile Scream3.8.zip
Expand-Archive -Path Scream3.8.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
Invoke-WebRequest https://github.com/duncanthrax/scream/releases/download/${{ env.VERSION }}/Scream${{ env.VERSION }}.zip -OutFile Scream${{ env.VERSION }}.zip
Expand-Archive -Path Scream${{ env.VERSION }}.zip -DestinationPath Scream
# TODO
# 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
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
Expand Down

0 comments on commit f3673b2

Please sign in to comment.