diff --git a/libs/core/.github/workflows/ci.yml b/libs/core/.github/workflows/ci.yml index be9929b4..7a6a013b 100644 --- a/libs/core/.github/workflows/ci.yml +++ b/libs/core/.github/workflows/ci.yml @@ -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 diff --git a/libs/gpu-dawn/.github/workflows/ci.yml b/libs/gpu-dawn/.github/workflows/ci.yml index 8606e8d7..bc3277d8 100644 --- a/libs/gpu-dawn/.github/workflows/ci.yml +++ b/libs/gpu-dawn/.github/workflows/ci.yml @@ -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) diff --git a/libs/gpu-dawn/.github/workflows/m1_ci.yml b/libs/gpu-dawn/.github/workflows/m1_ci.yml index 31497ad6..271125ce 100644 --- a/libs/gpu-dawn/.github/workflows/m1_ci.yml +++ b/libs/gpu-dawn/.github/workflows/m1_ci.yml @@ -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) diff --git a/libs/gpu-dawn/README.md b/libs/gpu-dawn/README.md index 9a079326..06998f63 100644 --- a/libs/gpu-dawn/README.md +++ b/libs/gpu-dawn/README.md @@ -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 ``` diff --git a/libs/gpu/.github/workflows/ci.yml b/libs/gpu/.github/workflows/ci.yml index 3f56f2a4..f64cc37a 100644 --- a/libs/gpu/.github/workflows/ci.yml +++ b/libs/gpu/.github/workflows/ci.yml @@ -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