all: update mach-glfw and mach-gpu-dawn clone commands
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
a8bbe06a60
commit
c7ee98a7e5
5 changed files with 26 additions and 26 deletions
12
libs/core/.github/workflows/ci.yml
vendored
12
libs/core/.github/workflows/ci.yml
vendored
|
|
@ -19,9 +19,9 @@ jobs:
|
|||
rm -rf libs/mach-glfw
|
||||
rm -rf libs/mach-gpu
|
||||
rm -rf libs/mach-gpu-dawn
|
||||
git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
git clone --recursive 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
|
||||
git clone --recursive https://github.com/hexops/mach-gpu-dawn libs/mach-gpu-dawn
|
||||
zig build
|
||||
- name: launch xvfb
|
||||
run: Xvfb :99 -screen 0 1680x720x24 > /dev/null 2>&1 &
|
||||
|
|
@ -49,9 +49,9 @@ jobs:
|
|||
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-glfw libs/mach-glfw
|
||||
git clone --recursive 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
|
||||
git clone --recursive https://github.com/hexops/mach-gpu-dawn libs/mach-gpu-dawn
|
||||
zig build
|
||||
- name: test
|
||||
run: zig build test
|
||||
|
|
@ -71,9 +71,9 @@ jobs:
|
|||
rm -rf libs/mach-glfw
|
||||
rm -rf libs/mach-gpu
|
||||
rm -rf libs/mach-gpu-dawn
|
||||
git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
git clone --recursive 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
|
||||
git clone --recursive https://github.com/hexops/mach-gpu-dawn libs/mach-gpu-dawn
|
||||
zig build
|
||||
- name: test
|
||||
run: zig build test
|
||||
|
|
|
|||
24
libs/gpu-dawn/.github/workflows/ci.yml
vendored
24
libs/gpu-dawn/.github/workflows/ci.yml
vendored
|
|
@ -20,7 +20,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: Clone mach-glfw
|
||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
run: rm libs/mach-glfw && git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
- name: install (debug)
|
||||
run: zig build install -Dtarget=x86_64-linux-gnu
|
||||
- name: upload (debug)
|
||||
|
|
@ -43,7 +43,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: Clone mach-glfw
|
||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
run: rm libs/mach-glfw && git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
- name: install (release-fast)
|
||||
run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-linux-gnu
|
||||
- name: upload (release-fast)
|
||||
|
|
@ -66,7 +66,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: Clone mach-glfw
|
||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
run: rm libs/mach-glfw && git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
- name: install (debug)
|
||||
run: zig build install -Dtarget=x86_64-linux-musl
|
||||
- name: upload (debug)
|
||||
|
|
@ -89,7 +89,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: Clone mach-glfw
|
||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
run: rm libs/mach-glfw && git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
- name: install (release-fast)
|
||||
run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-linux-musl
|
||||
- name: upload (release-fast)
|
||||
|
|
@ -112,7 +112,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: Clone mach-glfw
|
||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
run: rm libs/mach-glfw && git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
- name: install (debug)
|
||||
run: zig build install -Dtarget=aarch64-linux-gnu
|
||||
- name: upload (debug)
|
||||
|
|
@ -135,7 +135,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: Clone mach-glfw
|
||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
run: rm libs/mach-glfw && git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
- name: install (release-fast)
|
||||
run: zig build install -Doptimize=ReleaseFast -Dtarget=aarch64-linux-gnu
|
||||
- name: upload (release-fast)
|
||||
|
|
@ -158,7 +158,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: Clone mach-glfw
|
||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
run: rm libs/mach-glfw && git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
- name: install (debug)
|
||||
run: zig build install -Dtarget=aarch64-linux-musl
|
||||
- name: upload (debug)
|
||||
|
|
@ -181,7 +181,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: Clone mach-glfw
|
||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
run: rm libs/mach-glfw && git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
- name: install (release-fast)
|
||||
run: zig build install -Doptimize=ReleaseFast -Dtarget=aarch64-linux-musl
|
||||
- name: upload (release-fast)
|
||||
|
|
@ -207,7 +207,7 @@ jobs:
|
|||
7z x zig.zip
|
||||
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.11.0-dev.3883+7166407d8\"
|
||||
- name: Clone mach-glfw
|
||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
run: rm libs/mach-glfw && git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
- name: install (debug)
|
||||
run: zig build install -Dtarget=x86_64-windows-gnu
|
||||
- name: upload (debug)
|
||||
|
|
@ -235,7 +235,7 @@ jobs:
|
|||
7z x zig.zip
|
||||
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.11.0-dev.3883+7166407d8\"
|
||||
- name: Clone mach-glfw
|
||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
run: rm libs/mach-glfw && git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
- name: install (release-fast)
|
||||
run: zig build install -Dtarget=x86_64-windows-gnu -Doptimize=ReleaseFast
|
||||
- name: upload (release-fast)
|
||||
|
|
@ -261,7 +261,7 @@ 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: Clone mach-glfw
|
||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
run: rm libs/mach-glfw && git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
- name: install (debug)
|
||||
run: zig build install -Dtarget=x86_64-macos
|
||||
- name: upload (debug)
|
||||
|
|
@ -285,7 +285,7 @@ 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: Clone mach-glfw
|
||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
run: rm libs/mach-glfw && git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
- name: install (release-fast)
|
||||
run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-macos
|
||||
- name: upload (release-fast)
|
||||
|
|
|
|||
2
libs/gpu-dawn/.github/workflows/m1_ci.yml
vendored
2
libs/gpu-dawn/.github/workflows/m1_ci.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
with:
|
||||
submodules: 'true'
|
||||
- name: Clone mach-glfw
|
||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
run: rm libs/mach-glfw && git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
- name: install (debug)
|
||||
run: zig build install -Dtarget=aarch64-macos
|
||||
- name: upload (debug)
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ git clone https://github.com/hexops/mach-gpu-dawn
|
|||
cd mach-gpu-dawn
|
||||
|
||||
rm -rf libs/mach-glfw
|
||||
git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
git clone --recursive https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
|
||||
zig build
|
||||
```
|
||||
|
|
|
|||
12
libs/gpu/.github/workflows/ci.yml
vendored
12
libs/gpu/.github/workflows/ci.yml
vendored
|
|
@ -18,8 +18,8 @@ jobs:
|
|||
run: |
|
||||
rm -rf libs/mach-glfw
|
||||
rm -rf libs/mach-gpu-dawn
|
||||
git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
git clone https://github.com/hexops/mach-gpu-dawn 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
|
||||
- name: test
|
||||
run: zig build test
|
||||
|
|
@ -41,8 +41,8 @@ jobs:
|
|||
run: |
|
||||
Remove-Item -Recurse -Force libs/mach-glfw
|
||||
Remove-Item -Recurse -Force libs/mach-gpu-dawn
|
||||
git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
git clone https://github.com/hexops/mach-gpu-dawn 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
|
||||
- name: test
|
||||
run: zig build test
|
||||
|
|
@ -61,8 +61,8 @@ jobs:
|
|||
run: |
|
||||
rm -rf libs/mach-glfw
|
||||
rm -rf libs/mach-gpu-dawn
|
||||
git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||
git clone https://github.com/hexops/mach-gpu-dawn 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
|
||||
- name: test
|
||||
run: zig build test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue