all: CI: update to latest Zig master version

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-10-22 09:11:07 -07:00
parent db4743b2ed
commit 628387764c
11 changed files with 43 additions and 43 deletions

View file

@ -16,7 +16,7 @@ jobs:
- name: Setup Zig
run: |
sudo apt install xz-utils libasound2-dev
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.4333+f5f28e0d2.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.4476+0f0076666.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
# - name: x86_64-linux -> x86_64-linux-musl
# if: matrix.project == 'libs/freetype' || matrix.project == 'libs/glfw'
# run: zig build -Dtarget=x86_64-linux-musl
@ -51,7 +51,7 @@ jobs:
- name: Setup Zig
run: |
sudo apt install xz-utils libasound2-dev
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.4333+f5f28e0d2.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.4476+0f0076666.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
- name: compile all examples
run: zig build compile-all -Dtarget=wasm32-freestanding-none
x86_64-windows:
@ -67,10 +67,10 @@ jobs:
- name: Setup Zig
run: |
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri 'https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2.zip' -OutFile 'C:\zig.zip'
Invoke-WebRequest -Uri 'https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.4476+0f0076666.zip' -OutFile 'C:\zig.zip'
cd C:\
7z x zig.zip
Add-Content $env:GITHUB_PATH 'C:\zig-windows-x86_64-0.10.0-dev.4333+f5f28e0d2\'
Add-Content $env:GITHUB_PATH 'C:\zig-windows-x86_64-0.10.0-dev.4476+0f0076666\'
- name: compile all examples
run: zig build compile-all
- name: test
@ -87,7 +87,7 @@ jobs:
run: |
brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066
brew install xz
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.4333+f5f28e0d2.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.4476+0f0076666.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
- name: test
run: zig build test
env: