sysaudio: CI: clone mach-glfw (system SDK) dependency

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-06-30 20:57:30 -07:00
parent 9c08fc3a60
commit 8b5dc39fa3

View file

@ -13,7 +13,10 @@ 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: zig build run: |
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:
@ -29,7 +32,10 @@ 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: zig build run: |
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:
@ -42,7 +48,10 @@ 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: zig build run: |
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