Skip to content

Commit cea54ee

Browse files
committed
CI: run also on Windows
1 parent 16b3984 commit cea54ee

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
jack: jackd1
1919
- os: macos-latest
2020
python-version: "3.10"
21+
- os: windows-latest
22+
python-version: "3.10"
2123
runs-on: ${{ matrix.os }}
2224
steps:
2325
- name: Install JACK on Ubuntu
@@ -29,7 +31,17 @@ jobs:
2931
if: startsWith(matrix.os, 'macos')
3032
run: |
3133
brew install jack
32-
- name: Start jackd with "dummy" backend
34+
- name: Install JACK on Windows
35+
if: startsWith(matrix.os, 'windows')
36+
run: |
37+
choco install --no-progress jack
38+
- name: Start jackd with "dummy" backend (Windows)
39+
if: startsWith(matrix.os, 'windows')
40+
working-directory: "C:\\Program Files\\JACK2"
41+
run: |
42+
cmd /c "start /b jackd --no-realtime -d dummy"
43+
- name: Start jackd with "dummy" backend (non-Windows)
44+
if: ${{ !startsWith(matrix.os, 'windows') }}
3345
run: |
3446
jackd --no-realtime -d dummy &
3547
- name: Set up Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)