all: update Zig to version 0.11.0-dev.4407+4d7dd1689

Signed-off-by: Wrench[bot] <wrench@hexops.com>
This commit is contained in:
Wrench[bot] 2023-08-02 20:43:12 -07:00 committed by Stephen Gutekanst
parent c26cfec0b6
commit 48aa27fc77
3 changed files with 10 additions and 10 deletions

View file

@ -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://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' sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-linux-x86_64-0.11.0-dev.4407+4d7dd1689.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,10 +59,10 @@ jobs:
- name: Setup Zig - name: Setup Zig
run: | run: |
$ProgressPreference = 'SilentlyContinue' $ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri 'https://pkg.machengine.org/zig/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.4407+4d7dd1689.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.4407+4d7dd1689\'
- name: test - name: test
run: zig build test run: zig build test
x86_64-macos: x86_64-macos:
@ -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://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' sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-macos-x86_64-0.11.0-dev.4407+4d7dd1689.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
- name: test - name: test
run: zig build test run: zig build test

View file

@ -77,12 +77,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. 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.11.0-dev.3947+89396ff02`. Newer is generally better, but you can download this version here: Currently we test using `0.11.0-dev.4407+4d7dd1689`. Newer is generally better, but you can download this version here:
- **linux-x86_64**: https://pkg.machengine.org/zig/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.4407+4d7dd1689.tar.xz
- **windows-x86_64**: https://pkg.machengine.org/zig/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.4407+4d7dd1689.zip
- **macos-x86_64** (Intel): https://pkg.machengine.org/zig/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.4407+4d7dd1689.tar.xz
- **macos-aarch64** (Apple Silicon): https://pkg.machengine.org/zig/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.4407+4d7dd1689.tar.xz
## Contributing ## Contributing

View file

@ -178,7 +178,7 @@ fn sdkPath(comptime suffix: []const u8) []const u8 {
} }
comptime { comptime {
const min_zig = std.SemanticVersion.parse("0.11.0-dev.3947+89396ff02") catch unreachable; const min_zig = std.SemanticVersion.parse("0.11.0-dev.4407+4d7dd1689") catch unreachable;
if (builtin.zig_version.order(min_zig) == .lt) { if (builtin.zig_version.order(min_zig) == .lt) {
@compileError(std.fmt.comptimePrint("Your Zig version v{} does not meet the minimum build requirement of v{}", .{ builtin.zig_version, min_zig })); @compileError(std.fmt.comptimePrint("Your Zig version v{} does not meet the minimum build requirement of v{}", .{ builtin.zig_version, min_zig }));
} }