all: update zig version
This commit is contained in:
parent
0f3e28bc2a
commit
3b162fdd7c
11 changed files with 43 additions and 43 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -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.4476+0f0076666.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.11.0-dev.829+68d2f68ed.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.4476+0f0076666.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.11.0-dev.829+68d2f68ed.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.4476+0f0076666.zip' -OutFile 'C:\zig.zip'
|
||||
Invoke-WebRequest -Uri 'https://ziglang.org/builds/zig-windows-x86_64-0.11.0-dev.829+68d2f68ed.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.4476+0f0076666\'
|
||||
Add-Content $env:GITHUB_PATH 'C:\zig-windows-x86_64-0.11.0-dev.829+68d2f68ed\'
|
||||
- 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.4476+0f0076666.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.11.0-dev.829+68d2f68ed.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||
- name: test
|
||||
run: zig build test
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue