all: update Zig to version 0.12.0-dev.21+ac95cfe44

Signed-off-by: Wrench[bot] <wrench@hexops.com>
This commit is contained in:
Wrench[bot] 2023-08-08 22:11:11 -07:00 committed by Stephen Gutekanst
parent 126b0bfd56
commit 0cd8a69100
2 changed files with 9 additions and 9 deletions

View file

@ -26,7 +26,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.11.0-dev.4410+76f7b40e1.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.21+ac95cfe44.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
# - name: x86_64-linux -> x86_64-linux-musl
# run: zig build -Dtarget=x86_64-linux-musl
- name: x86_64-linux -> x86_64-macos
@ -54,10 +54,10 @@ jobs:
- name: Setup Zig
run: |
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri 'https://pkg.machengine.org/zig/zig-windows-x86_64-0.11.0-dev.4410+76f7b40e1.zip' -OutFile 'C:\zig.zip'
Invoke-WebRequest -Uri 'https://pkg.machengine.org/zig/zig-windows-x86_64-0.12.0-dev.21+ac95cfe44.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.4410+76f7b40e1\'
Add-Content $env:GITHUB_PATH 'C:\zig-windows-x86_64-0.12.0-dev.21+ac95cfe44\'
- name: test
run: zig build test
x86_64-macos:
@ -72,6 +72,6 @@ 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.11.0-dev.4410+76f7b40e1.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.21+ac95cfe44.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
- name: test
run: zig build test