Skip to content

Commit 79b5e0d

Browse files
committed
CI: install jackd/Windows from Github releases
1 parent f447e8e commit 79b5e0d

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,16 @@ jobs:
3030
brew install jack
3131
- name: Install JACK on Windows
3232
if: startsWith(matrix.os, 'windows')
33+
# Inspired by https://github.com/supercollider/supercollider/blob/develop/.github/workflows/actions.yml
34+
shell: bash
3335
run: |
34-
choco install --no-progress jack
35-
- name: Start jackd with "dummy" backend (Windows)
36-
if: startsWith(matrix.os, 'windows')
37-
working-directory: "C:\\Program Files\\JACK2"
38-
run: |
39-
cmd /c "start /b jackd --no-realtime -d dummy"
40-
- name: Start jackd with "dummy" backend (non-Windows)
41-
if: ${{ !startsWith(matrix.os, 'windows') }}
36+
JACK2_RELEASE=v1.9.22
37+
curl -O -J -L https://github.com/jackaudio/jack2-releases/releases/download/$JACK2_RELEASE/jack2-win64-$JACK2_RELEASE.exe
38+
./jack2-win64-$JACK2_RELEASE.exe //SILENT //SUPPRESSMSGBOXES
39+
echo "/c/Program Files/JACK2" >> $GITHUB_PATH
40+
- name: Start jackd with "dummy" backend
41+
# With "bash", this works even on Windows!
42+
shell: bash
4243
run: |
4344
jackd --no-realtime -d dummy &
4445
- name: Set up Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)