all: update Zig to version 0.14.0-dev.2577+271452d22
Signed-off-by: Wrench[bot] <wrench@hexops.com>
This commit is contained in:
parent
c4c916fcef
commit
e7d538bf7c
2 changed files with 5 additions and 5 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -26,7 +26,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.14.0-dev.1911+3bf89f55c.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.14.0-dev.2577+271452d22.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: launch xvfb
|
- name: launch xvfb
|
||||||
run: Xvfb :99 -screen 0 1680x720x24 > /dev/null 2>&1 &
|
run: Xvfb :99 -screen 0 1680x720x24 > /dev/null 2>&1 &
|
||||||
# - name: x86_64-linux -> x86_64-linux-musl
|
# - name: x86_64-linux -> x86_64-linux-musl
|
||||||
|
|
@ -72,10 +72,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.14.0-dev.1911+3bf89f55c.zip' -OutFile 'C:\zig.zip'
|
Invoke-WebRequest -Uri 'https://pkg.machengine.org/zig/zig-windows-x86_64-0.14.0-dev.2577+271452d22.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.14.0-dev.1911+3bf89f55c\'
|
Add-Content $env:GITHUB_PATH 'C:\zig-windows-x86_64-0.14.0-dev.2577+271452d22\'
|
||||||
- name: build
|
- name: build
|
||||||
run: zig build
|
run: zig build
|
||||||
- name: test
|
- name: test
|
||||||
|
|
@ -92,7 +92,7 @@ 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.14.0-dev.1911+3bf89f55c.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.14.0-dev.2577+271452d22.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: build
|
- name: build
|
||||||
run: zig build
|
run: zig build
|
||||||
- name: test
|
- name: test
|
||||||
|
|
|
||||||
|
|
@ -448,7 +448,7 @@ const SysAudioTest = struct {
|
||||||
};
|
};
|
||||||
|
|
||||||
comptime {
|
comptime {
|
||||||
const supported_zig = std.SemanticVersion.parse("0.14.0-dev.1911+3bf89f55c") catch unreachable;
|
const supported_zig = std.SemanticVersion.parse("0.14.0-dev.2577+271452d22") catch unreachable;
|
||||||
if (builtin.zig_version.order(supported_zig) != .eq) {
|
if (builtin.zig_version.order(supported_zig) != .eq) {
|
||||||
@compileError(std.fmt.comptimePrint("unsupported Zig version ({}). Required Zig version 2024.10.0-mach: https://machengine.org/docs/zig-version/", .{builtin.zig_version}));
|
@compileError(std.fmt.comptimePrint("unsupported Zig version ({}). Required Zig version 2024.10.0-mach: https://machengine.org/docs/zig-version/", .{builtin.zig_version}));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue