all: update mach-glfw and mach-gpu-dawn clone commands

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-07-03 22:02:49 -07:00
parent a8bbe06a60
commit c7ee98a7e5
5 changed files with 26 additions and 26 deletions

View file

@ -19,9 +19,9 @@ jobs:
rm -rf libs/mach-glfw rm -rf libs/mach-glfw
rm -rf libs/mach-gpu rm -rf libs/mach-gpu
rm -rf libs/mach-gpu-dawn 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 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 zig build
- name: launch xvfb - name: launch xvfb
run: Xvfb :99 -screen 0 1680x720x24 > /dev/null 2>&1 & 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-glfw
Remove-Item -Recurse -Force libs/mach-gpu Remove-Item -Recurse -Force libs/mach-gpu
Remove-Item -Recurse -Force libs/mach-gpu-dawn 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 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 zig build
- name: test - name: test
run: zig build test run: zig build test
@ -71,9 +71,9 @@ jobs:
rm -rf libs/mach-glfw rm -rf libs/mach-glfw
rm -rf libs/mach-gpu rm -rf libs/mach-gpu
rm -rf libs/mach-gpu-dawn 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 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 zig build
- name: test - name: test
run: zig build test run: zig build test

View file

@ -20,7 +20,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: Clone mach-glfw - 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) - name: install (debug)
run: zig build install -Dtarget=x86_64-linux-gnu run: zig build install -Dtarget=x86_64-linux-gnu
- name: upload (debug) - name: upload (debug)
@ -43,7 +43,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: Clone mach-glfw - 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) - name: install (release-fast)
run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-linux-gnu run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-linux-gnu
- name: upload (release-fast) - name: upload (release-fast)
@ -66,7 +66,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: Clone mach-glfw - 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) - name: install (debug)
run: zig build install -Dtarget=x86_64-linux-musl run: zig build install -Dtarget=x86_64-linux-musl
- name: upload (debug) - name: upload (debug)
@ -89,7 +89,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: Clone mach-glfw - 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) - name: install (release-fast)
run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-linux-musl run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-linux-musl
- name: upload (release-fast) - name: upload (release-fast)
@ -112,7 +112,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: Clone mach-glfw - 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) - name: install (debug)
run: zig build install -Dtarget=aarch64-linux-gnu run: zig build install -Dtarget=aarch64-linux-gnu
- name: upload (debug) - name: upload (debug)
@ -135,7 +135,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: Clone mach-glfw - 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) - name: install (release-fast)
run: zig build install -Doptimize=ReleaseFast -Dtarget=aarch64-linux-gnu run: zig build install -Doptimize=ReleaseFast -Dtarget=aarch64-linux-gnu
- name: upload (release-fast) - name: upload (release-fast)
@ -158,7 +158,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: Clone mach-glfw - 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) - name: install (debug)
run: zig build install -Dtarget=aarch64-linux-musl run: zig build install -Dtarget=aarch64-linux-musl
- name: upload (debug) - name: upload (debug)
@ -181,7 +181,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: Clone mach-glfw - 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) - name: install (release-fast)
run: zig build install -Doptimize=ReleaseFast -Dtarget=aarch64-linux-musl run: zig build install -Doptimize=ReleaseFast -Dtarget=aarch64-linux-musl
- name: upload (release-fast) - name: upload (release-fast)
@ -207,7 +207,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: Clone mach-glfw - 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) - name: install (debug)
run: zig build install -Dtarget=x86_64-windows-gnu run: zig build install -Dtarget=x86_64-windows-gnu
- name: upload (debug) - name: upload (debug)
@ -235,7 +235,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: Clone mach-glfw - 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) - name: install (release-fast)
run: zig build install -Dtarget=x86_64-windows-gnu -Doptimize=ReleaseFast run: zig build install -Dtarget=x86_64-windows-gnu -Doptimize=ReleaseFast
- name: upload (release-fast) - name: upload (release-fast)
@ -261,7 +261,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: Clone mach-glfw - 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) - name: install (debug)
run: zig build install -Dtarget=x86_64-macos run: zig build install -Dtarget=x86_64-macos
- name: upload (debug) - name: upload (debug)
@ -285,7 +285,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: Clone mach-glfw - 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) - name: install (release-fast)
run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-macos run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-macos
- name: upload (release-fast) - name: upload (release-fast)

View file

@ -21,7 +21,7 @@ jobs:
with: with:
submodules: 'true' submodules: 'true'
- name: Clone mach-glfw - 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) - name: install (debug)
run: zig build install -Dtarget=aarch64-macos run: zig build install -Dtarget=aarch64-macos
- name: upload (debug) - name: upload (debug)

View file

@ -20,7 +20,7 @@ git clone https://github.com/hexops/mach-gpu-dawn
cd mach-gpu-dawn cd mach-gpu-dawn
rm -rf libs/mach-glfw 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 zig build
``` ```

View file

@ -18,8 +18,8 @@ jobs:
run: | run: |
rm -rf libs/mach-glfw rm -rf libs/mach-glfw
rm -rf libs/mach-gpu-dawn 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-dawn libs/mach-gpu-dawn git clone --recursive https://github.com/hexops/mach-gpu-dawn libs/mach-gpu-dawn
zig build zig build
- name: test - name: test
run: zig build test run: zig build test
@ -41,8 +41,8 @@ jobs:
run: | run: |
Remove-Item -Recurse -Force libs/mach-glfw Remove-Item -Recurse -Force libs/mach-glfw
Remove-Item -Recurse -Force libs/mach-gpu-dawn 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-dawn libs/mach-gpu-dawn git clone --recursive https://github.com/hexops/mach-gpu-dawn libs/mach-gpu-dawn
zig build zig build
- name: test - name: test
run: zig build test run: zig build test
@ -61,8 +61,8 @@ jobs:
run: | run: |
rm -rf libs/mach-glfw rm -rf libs/mach-glfw
rm -rf libs/mach-gpu-dawn 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-dawn libs/mach-gpu-dawn git clone --recursive https://github.com/hexops/mach-gpu-dawn libs/mach-gpu-dawn
zig build zig build
- name: test - name: test
run: zig build test run: zig build test