core: CI: clone dependencies manually
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
437cd952e6
commit
0295820b72
1 changed files with 34 additions and 4 deletions
38
libs/core/.github/workflows/ci.yml
vendored
38
libs/core/.github/workflows/ci.yml
vendored
|
|
@ -12,11 +12,19 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
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.3798+a5e15eced.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.3798+a5e15eced.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: x86_64-linux -> aarch64-macos
|
- name: build
|
||||||
run: zig build -Dtarget=aarch64-macos
|
|
||||||
- name: test
|
|
||||||
run: |
|
run: |
|
||||||
zig build test
|
rm -rf libs/mach-gamemode
|
||||||
|
rm -rf libs/mach-glfw
|
||||||
|
rm -rf libs/mach-gpu
|
||||||
|
rm -rf libs/mach-gpu-dawn
|
||||||
|
git clone https://github.com/hexops/mach-gamemode libs/mach-gamemode
|
||||||
|
git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||||
|
git clone https://github.com/hexops/mach-gpu libs/mach-gpu
|
||||||
|
git clone https://github.com/hexops/mach-gpu-dawn libs/mach-gpu-dawn
|
||||||
|
zig build
|
||||||
|
- name: test
|
||||||
|
run: zig build test
|
||||||
x86_64-windows:
|
x86_64-windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -29,6 +37,17 @@ jobs:
|
||||||
cd C:\
|
cd C:\
|
||||||
7z x zig.zip
|
7z x zig.zip
|
||||||
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.11.0-dev.3798+a5e15eced\"
|
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.11.0-dev.3798+a5e15eced\"
|
||||||
|
- name: build
|
||||||
|
run: |
|
||||||
|
Remove-Item -Recurse -Force libs/mach-gamemode
|
||||||
|
Remove-Item -Recurse -Force libs/mach-glfw
|
||||||
|
Remove-Item -Recurse -Force libs/mach-gpu
|
||||||
|
Remove-Item -Recurse -Force libs/mach-gpu-dawn
|
||||||
|
git clone https://github.com/hexops/mach-gamemode libs/mach-gamemode
|
||||||
|
git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||||
|
git clone https://github.com/hexops/mach-gpu libs/mach-gpu
|
||||||
|
git clone https://github.com/hexops/mach-gpu-dawn libs/mach-gpu-dawn
|
||||||
|
zig build
|
||||||
- name: test
|
- name: test
|
||||||
run: zig build test
|
run: zig build test
|
||||||
x86_64-macos:
|
x86_64-macos:
|
||||||
|
|
@ -40,5 +59,16 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
brew install xz
|
brew install xz
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.11.0-dev.3798+a5e15eced.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.3798+a5e15eced.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
|
- name: build
|
||||||
|
run: |
|
||||||
|
rm -rf libs/mach-gamemode
|
||||||
|
rm -rf libs/mach-glfw
|
||||||
|
rm -rf libs/mach-gpu
|
||||||
|
rm -rf libs/mach-gpu-dawn
|
||||||
|
git clone https://github.com/hexops/mach-gamemode libs/mach-gamemode
|
||||||
|
git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||||
|
git clone https://github.com/hexops/mach-gpu libs/mach-gpu
|
||||||
|
git clone https://github.com/hexops/mach-gpu-dawn libs/mach-gpu-dawn
|
||||||
|
zig build
|
||||||
- name: test
|
- name: test
|
||||||
run: zig build test
|
run: zig build test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue