Update Github Actions for Windows

This commit is contained in:
Luni-4 2019-10-26 12:22:50 +02:00
parent be54ffff09
commit 2a62f42e04
1 changed files with 3 additions and 4 deletions

View File

@ -76,10 +76,9 @@ jobs:
- name: Install ASIO SDK - name: Install ASIO SDK
env: env:
LINK: https://www.steinberg.net/asiosdk LINK: https://www.steinberg.net/asiosdk
shell: powershell
run: | run: |
curl.exe -L -o asio.zip $env:LINK curl -L -o asio.zip $env:LINK
7z.exe x -oasio asio.zip 7z x -oasio asio.zip
move asio\*\* asio\ move asio\*\* asio\
- name: Install ASIO4ALL - name: Install ASIO4ALL
run: choco install asio4all run: choco install asio4all
@ -95,5 +94,5 @@ jobs:
run: cargo test --all --no-default-features --verbose run: cargo test --all --no-default-features --verbose
- name: Run all features - name: Run all features
run: | run: |
set CPAL_ASIO_DIR=%GITHUB_WORKSPACE%\asio $Env:CPAL_ASIO_DIR = "$Env:GITHUB_WORKSPACE\asio"
cargo test --all --all-features --verbose cargo test --all --all-features --verbose