From 2c65845aedbb4d493e64cd3c0db674c9807f87c9 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Fri, 14 Oct 2022 09:00:33 -0700 Subject: [PATCH] all: CI: update to latest Zig 0.10.0-dev.4333+f5f28e0d2 Produced via: ``` ZIG_VERSION=0.10.0-dev.4333+f5f28e0d2 ./dev/update-zig.sh ``` Signed-off-by: Stephen Gutekanst --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/m1_ci.yml | 2 +- README.md | 10 +++++----- dev/template/.github/workflows/ci.yml | 8 ++++---- libs/basisu/.github/workflows/ci.yml | 8 ++++---- libs/freetype/.github/workflows/ci.yml | 8 ++++---- libs/glfw/.github/workflows/ci.yml | 8 ++++---- libs/glfw/.github/workflows/m1_ci.yml | 2 +- libs/gpu-dawn/.github/workflows/ci.yml | 20 ++++++++++---------- libs/gpu-dawn/.github/workflows/m1_ci.yml | 2 +- 10 files changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6761a78c..35ebe868 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - name: Setup Zig run: | sudo apt install xz-utils libasound2-dev - sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' # - name: x86_64-linux -> x86_64-linux-musl # if: matrix.project == 'libs/freetype' || matrix.project == 'libs/glfw' # run: zig build -Dtarget=x86_64-linux-musl @@ -55,10 +55,10 @@ jobs: - name: Setup Zig run: | $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest -Uri 'https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4060+61aaef0b0.zip' -OutFile 'C:\zig.zip' + Invoke-WebRequest -Uri 'https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2.zip' -OutFile 'C:\zig.zip' cd C:\ 7z x zig.zip - Add-Content $env:GITHUB_PATH 'C:\zig-windows-x86_64-0.10.0-dev.4060+61aaef0b0\' + Add-Content $env:GITHUB_PATH 'C:\zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2\' - name: compile all examples run: zig build compile-all - name: test @@ -75,7 +75,7 @@ jobs: run: | brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066 brew install xz - sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' - name: test run: zig build test env: diff --git a/.github/workflows/m1_ci.yml b/.github/workflows/m1_ci.yml index b44cd80d..bc222d33 100644 --- a/.github/workflows/m1_ci.yml +++ b/.github/workflows/m1_ci.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Zig run: | sudo rm -rf /usr/local/bin/zig /usr/local/bin/lib/ - sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.4060+61aaef0b0.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' + sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.4333+f5f28e0d2.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' - name: mach::test run: zig build test env: diff --git a/README.md b/README.md index 348cc190..d2143432 100644 --- a/README.md +++ b/README.md @@ -74,12 +74,12 @@ Mach is still early stages, so far we have support for building from the followi Mach works with the new self-hosted Zig compiler only. This means you'll need to use the latest Zig nightly version. -Currently we test using `0.10.0-dev.4060+61aaef0b0`. Newer is generally better, but you can download this version here: +Currently we test using `0.10.0-dev.4333+f5f28e0d2`. Newer is generally better, but you can download this version here: -- **linux-x86_64**: https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.4060+61aaef0b0.tar.xz) -- **windows-x86_64**: https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4060+61aaef0b0.zip -- **macos-x86_64** (Intel): https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.4060+61aaef0b0.tar.xz -- **macos-aarch64** (Apple Silicon): https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.4060+61aaef0b0.tar.xz +- **linux-x86_64**: https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.4333+f5f28e0d2.tar.xz) +- **windows-x86_64**: https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2.zip +- **macos-x86_64** (Intel): https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.4333+f5f28e0d2.tar.xz +- **macos-aarch64** (Apple Silicon): https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.4333+f5f28e0d2.tar.xz `mach/ecs` and WebAssembly examples have known issues unless using `-fstage1`, see [issue #180](https://github.com/hexops/mach/issues/180) for details. diff --git a/dev/template/.github/workflows/ci.yml b/dev/template/.github/workflows/ci.yml index 78101eee..77e0ff95 100644 --- a/dev/template/.github/workflows/ci.yml +++ b/dev/template/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: - name: Setup Zig run: | sudo apt install xz-utils - sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' - name: x86_64-linux -> aarch64-macos run: zig build test -Dtarget=aarch64-macos.12-none - name: test @@ -27,10 +27,10 @@ jobs: - name: Setup Zig run: | $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4060+61aaef0b0.zip" -OutFile "C:\zig.zip" + Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2.zip" -OutFile "C:\zig.zip" cd C:\ 7z x zig.zip - Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.4060+61aaef0b0\" + Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2\" - name: test run: zig build test x86_64-macos: @@ -41,6 +41,6 @@ jobs: - name: Setup Zig run: | brew install xz - sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' - name: test run: zig build test diff --git a/libs/basisu/.github/workflows/ci.yml b/libs/basisu/.github/workflows/ci.yml index 78101eee..77e0ff95 100644 --- a/libs/basisu/.github/workflows/ci.yml +++ b/libs/basisu/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: - name: Setup Zig run: | sudo apt install xz-utils - sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' - name: x86_64-linux -> aarch64-macos run: zig build test -Dtarget=aarch64-macos.12-none - name: test @@ -27,10 +27,10 @@ jobs: - name: Setup Zig run: | $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4060+61aaef0b0.zip" -OutFile "C:\zig.zip" + Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2.zip" -OutFile "C:\zig.zip" cd C:\ 7z x zig.zip - Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.4060+61aaef0b0\" + Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2\" - name: test run: zig build test x86_64-macos: @@ -41,6 +41,6 @@ jobs: - name: Setup Zig run: | brew install xz - sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' - name: test run: zig build test diff --git a/libs/freetype/.github/workflows/ci.yml b/libs/freetype/.github/workflows/ci.yml index 78101eee..77e0ff95 100644 --- a/libs/freetype/.github/workflows/ci.yml +++ b/libs/freetype/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: - name: Setup Zig run: | sudo apt install xz-utils - sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' - name: x86_64-linux -> aarch64-macos run: zig build test -Dtarget=aarch64-macos.12-none - name: test @@ -27,10 +27,10 @@ jobs: - name: Setup Zig run: | $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4060+61aaef0b0.zip" -OutFile "C:\zig.zip" + Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2.zip" -OutFile "C:\zig.zip" cd C:\ 7z x zig.zip - Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.4060+61aaef0b0\" + Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2\" - name: test run: zig build test x86_64-macos: @@ -41,6 +41,6 @@ jobs: - name: Setup Zig run: | brew install xz - sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' - name: test run: zig build test diff --git a/libs/glfw/.github/workflows/ci.yml b/libs/glfw/.github/workflows/ci.yml index 538ff5be..30b99524 100644 --- a/libs/glfw/.github/workflows/ci.yml +++ b/libs/glfw/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - name: Setup Zig run: | sudo apt install xz-utils - sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' - name: x86_64-linux -> x86_64-macos run: zig build test -Dtarget=x86_64-macos env: @@ -48,10 +48,10 @@ jobs: - name: Setup Zig run: | $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4060+61aaef0b0.zip" -OutFile "C:\zig.zip" + Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2.zip" -OutFile "C:\zig.zip" cd C:\ 7z x zig.zip - Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.4060+61aaef0b0\" + Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2\" - name: x86_64-windows -> x86_64-macos run: zig build test -Dtarget=x86_64-macos env: @@ -76,7 +76,7 @@ jobs: run: | brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066 brew install xz - sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' - name: test run: zig build test env: diff --git a/libs/glfw/.github/workflows/m1_ci.yml b/libs/glfw/.github/workflows/m1_ci.yml index bea7f526..50809046 100644 --- a/libs/glfw/.github/workflows/m1_ci.yml +++ b/libs/glfw/.github/workflows/m1_ci.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Zig run: | sudo rm -rf /usr/local/bin/zig /usr/local/bin/lib/ - sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.4060+61aaef0b0.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' + sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.4333+f5f28e0d2.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' - name: test run: zig build test env: diff --git a/libs/gpu-dawn/.github/workflows/ci.yml b/libs/gpu-dawn/.github/workflows/ci.yml index 020cf10e..5ce5cbe0 100644 --- a/libs/gpu-dawn/.github/workflows/ci.yml +++ b/libs/gpu-dawn/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - name: Setup Zig run: | sudo apt install xz-utils - sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.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 - name: install (debug) @@ -37,7 +37,7 @@ jobs: - name: Setup Zig run: | sudo apt install xz-utils - sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.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 - name: install (release-fast) @@ -58,7 +58,7 @@ jobs: - name: Setup Zig run: | sudo apt install xz-utils - sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.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 - name: install (debug) @@ -79,7 +79,7 @@ jobs: - name: Setup Zig run: | sudo apt install xz-utils - sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.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 - name: install (release-fast) @@ -102,10 +102,10 @@ jobs: - name: Setup Zig run: | $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4060+61aaef0b0.zip" -OutFile "C:\zig.zip" + Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2.zip" -OutFile "C:\zig.zip" cd C:\ 7z x zig.zip - Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.4060+61aaef0b0\" + Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2\" - name: Clone mach-glfw run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw - name: install (debug) @@ -130,10 +130,10 @@ jobs: - name: Setup Zig run: | $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4060+61aaef0b0.zip" -OutFile "C:\zig.zip" + Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2.zip" -OutFile "C:\zig.zip" cd C:\ 7z x zig.zip - Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.4060+61aaef0b0\" + Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2\" - name: Clone mach-glfw run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw - name: install (release-fast) @@ -157,7 +157,7 @@ jobs: run: | brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066 brew install xz - sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.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 - name: install (debug) @@ -181,7 +181,7 @@ jobs: run: | brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066 brew install xz - sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.4060+61aaef0b0.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.10.0-dev.4333+f5f28e0d2.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 - name: install (release-fast) diff --git a/libs/gpu-dawn/.github/workflows/m1_ci.yml b/libs/gpu-dawn/.github/workflows/m1_ci.yml index 8d027dbb..a0c8e12b 100644 --- a/libs/gpu-dawn/.github/workflows/m1_ci.yml +++ b/libs/gpu-dawn/.github/workflows/m1_ci.yml @@ -21,7 +21,7 @@ jobs: - name: Setup Zig run: | sudo rm -rf /usr/local/bin/zig /usr/local/bin/lib/ - sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.4060+61aaef0b0.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' + sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.4333+f5f28e0d2.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 - name: install (debug)