all: update Zig to version 0.12.0-dev.389+61b70778b

Signed-off-by: Wrench[bot] <wrench@hexops.com>
This commit is contained in:
Wrench[bot] 2023-09-16 13:53:13 -07:00 committed by Stephen Gutekanst
parent 58a16012c3
commit 3cabe193fe

View file

@ -18,7 +18,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.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.389+61b70778b.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
- name: x86_64-linux -> x86_64-macos - name: x86_64-linux -> x86_64-macos
run: zig build -Dtarget=x86_64-macos run: zig build -Dtarget=x86_64-macos
- name: x86_64-linux -> aarch64-macos - name: x86_64-linux -> aarch64-macos
@ -48,10 +48,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.4410+76f7b40e1.zip" -OutFile "C:\zig.zip" Invoke-WebRequest -Uri "https://pkg.machengine.org/zig/zig-windows-x86_64-0.12.0-dev.389+61b70778b.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.4410+76f7b40e1\" Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.12.0-dev.389+61b70778b\"
- name: x86_64-windows -> x86_64-macos - name: x86_64-windows -> x86_64-macos
run: zig build -Dtarget=x86_64-macos run: zig build -Dtarget=x86_64-macos
- name: x86_64-windows -> aarch64-macos - name: x86_64-windows -> aarch64-macos
@ -76,7 +76,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.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.389+61b70778b.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
- name: x86_64-macos -> aarch64-macos - name: x86_64-macos -> aarch64-macos
run: zig build -Dtarget=aarch64-macos run: zig build -Dtarget=aarch64-macos
- name: x86_64-macos -> x86_64-windows - name: x86_64-macos -> x86_64-windows