Skip to content

Commit

Permalink
all: update Zig to version 0.12.0-dev.3161+377ecc6af
Browse files Browse the repository at this point in the history
Signed-off-by: Wrench[bot] <[email protected]>
  • Loading branch information
wrench-bot committed Mar 8, 2024
1 parent c5180a0 commit 0a9dc7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Zig
run: |
sudo apt install xz-utils
sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-linux-x86_64-0.12.0-dev.2063+804cee3b9.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.12.0-dev.3161+377ecc6af.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
- name: x86_64-linux -> x86_64-macos
run: zig build -Dtarget=x86_64-macos
- name: x86_64-linux -> aarch64-macos
Expand Down Expand Up @@ -48,10 +48,10 @@ jobs:
- name: Setup Zig
run: |
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri "https://pkg.machengine.org/zig/zig-windows-x86_64-0.12.0-dev.2063+804cee3b9.zip" -OutFile "C:\zig.zip"
Invoke-WebRequest -Uri "https://pkg.machengine.org/zig/zig-windows-x86_64-0.12.0-dev.3161+377ecc6af.zip" -OutFile "C:\zig.zip"
cd C:\
7z x zig.zip
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.12.0-dev.2063+804cee3b9\"
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.12.0-dev.3161+377ecc6af\"
- name: x86_64-windows -> x86_64-macos
run: zig build -Dtarget=x86_64-macos
- name: x86_64-windows -> aarch64-macos
Expand All @@ -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://pkg.machengine.org/zig/zig-macos-x86_64-0.12.0-dev.2063+804cee3b9.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.12.0-dev.3161+377ecc6af.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
- name: x86_64-macos -> aarch64-macos
run: zig build -Dtarget=aarch64-macos
- name: x86_64-macos -> x86_64-windows
Expand Down
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub fn build(b: *std.Build) !void {
}

comptime {
const supported_zig = std.SemanticVersion.parse("0.12.0-dev.2063+804cee3b9") catch unreachable;
const supported_zig = std.SemanticVersion.parse("0.12.0-dev.3161+377ecc6af") catch unreachable;
if (builtin.zig_version.order(supported_zig) != .eq) {
@compileError(std.fmt.comptimePrint("unsupported Zig version ({}). Required Zig version 2024.1.0-mach: https://machengine.org/about/nominated-zig/#202410-mach", .{builtin.zig_version}));
}
Expand Down

0 comments on commit 0a9dc7c

Please sign in to comment.