gpu: depend on github.com/hexops/mach-gpu-dawn
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
c6349d1a97
commit
a0116db4fe
5 changed files with 11 additions and 20 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -21,3 +21,6 @@
|
|||
[submodule "libs/glfw/libs/xcode-frameworks"]
|
||||
path = libs/glfw/libs/xcode-frameworks
|
||||
url = https://github.com/hexops/xcode-frameworks
|
||||
[submodule "libs/gpu/libs/mach-gpu-dawn"]
|
||||
path = libs/gpu/libs/mach-gpu-dawn
|
||||
url = https://github.com/hexops/mach-gpu-dawn
|
||||
|
|
|
|||
21
libs/gpu/.github/workflows/ci.yml
vendored
21
libs/gpu/.github/workflows/ci.yml
vendored
|
|
@ -15,12 +15,7 @@ jobs:
|
|||
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'
|
||||
- name: build
|
||||
run: |
|
||||
rm -rf libs/mach-glfw
|
||||
rm -rf libs/mach-gpu-dawn
|
||||
git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
git clone --recursive https://github.com/hexops/mach-gpu-dawn libs/mach-gpu-dawn
|
||||
zig build
|
||||
run: zig build
|
||||
- name: test
|
||||
run: zig build test
|
||||
x86_64-windows:
|
||||
|
|
@ -38,12 +33,7 @@ jobs:
|
|||
7z x zig.zip
|
||||
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.11.0-dev.3883+7166407d8\"
|
||||
- name: build
|
||||
run: |
|
||||
Remove-Item -Recurse -Force libs/mach-glfw
|
||||
Remove-Item -Recurse -Force libs/mach-gpu-dawn
|
||||
git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
git clone --recursive https://github.com/hexops/mach-gpu-dawn libs/mach-gpu-dawn
|
||||
zig build
|
||||
run: zig build
|
||||
- name: test
|
||||
run: zig build test
|
||||
x86_64-macos:
|
||||
|
|
@ -58,11 +48,6 @@ jobs:
|
|||
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'
|
||||
- name: build
|
||||
run: |
|
||||
rm -rf libs/mach-glfw
|
||||
rm -rf libs/mach-gpu-dawn
|
||||
git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
git clone --recursive https://github.com/hexops/mach-gpu-dawn libs/mach-gpu-dawn
|
||||
zig build
|
||||
run: zig build
|
||||
- name: test
|
||||
run: zig build test
|
||||
|
|
|
|||
4
libs/gpu/.gitmodules
vendored
Normal file
4
libs/gpu/.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[submodule "libs/mach-gpu-dawn"]
|
||||
path = libs/mach-gpu-dawn
|
||||
url = https://github.com/hexops/mach-gpu-dawn
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
../../glfw
|
||||
|
|
@ -1 +0,0 @@
|
|||
../../gpu-dawn
|
||||
1
libs/gpu/libs/mach-gpu-dawn
Submodule
1
libs/gpu/libs/mach-gpu-dawn
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit a33e4030dcc0d6fa6c0abf3419000b504074511a
|
||||
Loading…
Add table
Add a link
Reference in a new issue