sysaudio: CI: fix windows build

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-07-03 18:01:06 -07:00
parent 118c978578
commit 0c8aa7fa83

View file

@ -15,10 +15,7 @@ jobs:
sudo apt install xz-utils sudo apt install xz-utils
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.3883+7166407d8.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.3883+7166407d8.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
- name: build - name: build
run: | run: zig build
rm -rf libs/mach-glfw
git clone https://github.com/hexops/mach-glfw libs/mach-glfw
zig build
- name: test - name: test
run: zig build test run: zig build test
x86_64-windows: x86_64-windows:
@ -36,10 +33,7 @@ jobs:
7z x zig.zip 7z x zig.zip
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.11.0-dev.3883+7166407d8\" Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.11.0-dev.3883+7166407d8\"
- name: build - name: build
run: | run: zig build
Remove-Item -Recurse -Force libs/mach-glfw
git clone https://github.com/hexops/mach-glfw libs/mach-glfw
zig build
- name: test - name: test
run: zig build test run: zig build test
x86_64-macos: x86_64-macos:
@ -54,10 +48,7 @@ jobs:
brew install xz brew install xz
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.11.0-dev.3883+7166407d8.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.11.0-dev.3883+7166407d8.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
- name: build - name: build
run: | run: zig build
rm -rf libs/mach-glfw
git clone https://github.com/hexops/mach-glfw libs/mach-glfw
zig build
env: env:
AGREE: true AGREE: true
- name: test - name: test