Skip to content

Commit

Permalink
windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellkammer committed Nov 23, 2024
1 parent 915f99a commit 6311d7a
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
matrix:
# os: ["windows-latest", "ubuntu-latest", "macos-latest"]
os: ["macos-latest"]
os: ["windows-latest"]
python-version: ["3.12"]
install-method: ["git"]
# csound-branch: ["csound6", "develop"]
Expand Down Expand Up @@ -64,7 +64,6 @@ jobs:
cmake --build build --config Release
sudo cmake --install build
csound --version
strace -f -t -e trace=file csound -+rtaudio=dummy --devices=out | grep "\.dylib" || echo ok
- name: windows setup csound 6
if: runner.os == 'windows' && matrix.csound-branch == 'csound6'
Expand All @@ -81,6 +80,20 @@ jobs:
# Write-Output $Env:PATH
csound.exe --version
- name: windows setup csound 7
if: runner.os == 'windows' && matrix.csound-branch == 'develop'
run: |
curl -L -o csound-binaries.zip https://github.com/csound/csound/actions/runs/11927164808/artifacts/2211330403
Expand-Archive csound-binaries.zip -DestinationPath "C:/Program Files/csound-binaries"
ls -r "C:/Program Files/csound-binaries"
"C:/Program Files/csound-binaries/build/Release" | Out-File -FilePath $env:GITHUB_PATH -Append
[Environment]::SetEnvironmentVariable("PATH", $Env:PATH + ";C:/Program Files/csound-binaries/build/Release", [EnvironmentVariableTarget]::Machine)
$Env:Path = $Env:Path + ";C:/Program Files/csound-binaries/build/Release"
echo "$PATH"
# Write-Output $Env:PATH
csound.exe --version
- name: install from repo
if: ${{ matrix.install-method == 'git' }}
run: |
Expand Down

0 comments on commit 6311d7a

Please sign in to comment.