CI: update to latest Zig nightly
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
a134b5e842
commit
fb5f471d94
1 changed files with 4 additions and 4 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -16,7 +16,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://ziglang.org/builds/zig-linux-x86_64-0.9.0-dev.952+0c091feb5.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.9.0-dev.959+f011f1393.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 test -Dtarget=x86_64-macos
|
run: zig build test -Dtarget=x86_64-macos
|
||||||
env:
|
env:
|
||||||
|
|
@ -49,10 +49,10 @@ jobs:
|
||||||
run: choco install git
|
run: choco install git
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.9.0-dev.952+0c091feb5.zip" -OutFile "C:\zig.zip"
|
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.9.0-dev.959+f011f1393.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.9.0-dev.952+0c091feb5\"
|
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.9.0-dev.959+f011f1393\"
|
||||||
# TODO(windows): `zig build test -Dtarget=x86_64-macos` fails - see hexops/mach#8
|
# TODO(windows): `zig build test -Dtarget=x86_64-macos` fails - see hexops/mach#8
|
||||||
# - name: x86_64-windows -> x86_64-macos
|
# - name: x86_64-windows -> x86_64-macos
|
||||||
# run: zig build install -Dtarget=x86_64-macos
|
# run: zig build install -Dtarget=x86_64-macos
|
||||||
|
|
@ -79,7 +79,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
brew install xz
|
brew install xz
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.9.0-dev.952+0c091feb5.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.9.0-dev.959+f011f1393.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: mach::test
|
- name: mach::test
|
||||||
run: zig build test
|
run: zig build test
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue