From 332d6cc9d1b28fe78e2fb7734012c6c22509d4ed Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Wed, 12 Jul 2023 21:40:46 -0700 Subject: [PATCH] CI: use pkg.machengine.org for Zig binaries Signed-off-by: Stephen Gutekanst --- .github/workflows/ci.yml | 6 +++--- README.md | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58607640..2154c7ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,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.11.0-dev.3947+89396ff02.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' + sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-linux-x86_64-0.11.0-dev.3947+89396ff02.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 @@ -59,7 +59,7 @@ jobs: - name: Setup Zig run: | $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest -Uri 'https://ziglang.org/builds/zig-windows-x86_64-0.11.0-dev.3947+89396ff02.zip' -OutFile 'C:\zig.zip' + Invoke-WebRequest -Uri 'https://pkg.machengine.org/zig/zig-windows-x86_64-0.11.0-dev.3947+89396ff02.zip' -OutFile 'C:\zig.zip' cd C:\ 7z x zig.zip Add-Content $env:GITHUB_PATH 'C:\zig-windows-x86_64-0.11.0-dev.3947+89396ff02\' @@ -79,6 +79,6 @@ 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.11.0-dev.3947+89396ff02.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' + sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-macos-x86_64-0.11.0-dev.3947+89396ff02.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' - name: test run: zig build test diff --git a/README.md b/README.md index 28477174..b4bea492 100644 --- a/README.md +++ b/README.md @@ -79,10 +79,10 @@ Mach works with the new self-hosted Zig compiler only. This means you'll need to Currently we test using `0.11.0-dev.3947+89396ff02`. Newer is generally better, but you can download this version here: -- **linux-x86_64**: https://ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.3947+89396ff02.tar.xz -- **windows-x86_64**: https://ziglang.org/builds/zig-windows-x86_64-0.11.0-dev.3947+89396ff02.zip -- **macos-x86_64** (Intel): https://ziglang.org/builds/zig-macos-x86_64-0.11.0-dev.3947+89396ff02.tar.xz -- **macos-aarch64** (Apple Silicon): https://ziglang.org/builds/zig-macos-aarch64-0.11.0-dev.3947+89396ff02.tar.xz +- **linux-x86_64**: https://pkg.machengine.org/zig/zig-linux-x86_64-0.11.0-dev.3947+89396ff02.tar.xz +- **windows-x86_64**: https://pkg.machengine.org/zig/zig-windows-x86_64-0.11.0-dev.3947+89396ff02.zip +- **macos-x86_64** (Intel): https://pkg.machengine.org/zig/zig-macos-x86_64-0.11.0-dev.3947+89396ff02.tar.xz +- **macos-aarch64** (Apple Silicon): https://pkg.machengine.org/zig/zig-macos-aarch64-0.11.0-dev.3947+89396ff02.tar.xz ## Contributing