CI: use pkg.machengine.org for Zig binaries
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
4c34a65020
commit
332d6cc9d1
2 changed files with 7 additions and 7 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
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.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
|
# - name: x86_64-linux -> x86_64-linux-musl
|
||||||
# if: matrix.project == 'libs/freetype' || matrix.project == 'libs/glfw'
|
# if: matrix.project == 'libs/freetype' || matrix.project == 'libs/glfw'
|
||||||
# run: zig build -Dtarget=x86_64-linux-musl
|
# run: zig build -Dtarget=x86_64-linux-musl
|
||||||
|
|
@ -59,7 +59,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$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:\
|
cd C:\
|
||||||
7z x zig.zip
|
7z x zig.zip
|
||||||
Add-Content $env:GITHUB_PATH 'C:\zig-windows-x86_64-0.11.0-dev.3947+89396ff02\'
|
Add-Content $env:GITHUB_PATH 'C:\zig-windows-x86_64-0.11.0-dev.3947+89396ff02\'
|
||||||
|
|
@ -79,6 +79,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066
|
brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066
|
||||||
brew install xz
|
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
|
- name: test
|
||||||
run: zig build test
|
run: zig build test
|
||||||
|
|
|
||||||
|
|
@ -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:
|
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
|
- **linux-x86_64**: https://pkg.machengine.org/zig/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
|
- **windows-x86_64**: https://pkg.machengine.org/zig/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-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://ziglang.org/builds/zig-macos-aarch64-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
|
## Contributing
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue