CI: update to latest nightly Zig b87105c92 (#13)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
c9af091855
commit
5891912171
1 changed files with 4 additions and 4 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
- name: Setup Zig
|
||||
run: |
|
||||
sudo apt install xz-utils
|
||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.9.0-dev.347+628f490c5.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.642+b87105c92.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||
- name: x86_64-linux -> x86_64-macos
|
||||
run: zig build test -Dtarget=x86_64-macos
|
||||
env:
|
||||
|
|
@ -33,10 +33,10 @@ jobs:
|
|||
run: choco install git
|
||||
- name: Setup Zig
|
||||
run: |
|
||||
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.9.0-dev.441+7b5d139fd.zip" -OutFile "C:\zig.zip"
|
||||
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.9.0-dev.642+b87105c92.zip" -OutFile "C:\zig.zip"
|
||||
cd C:\
|
||||
7z x zig.zip
|
||||
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.9.0-dev.441+7b5d139fd\"
|
||||
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.9.0-dev.642+b87105c92\"
|
||||
- name: x86_64-windows -> x86_64-macos
|
||||
# TODO(slimsag): bug: `zig build test -Dtarget=x86_64-macos` fails on Windows with `error: Unexpected`
|
||||
# Maybe an issue in final linking? Maybe it's trying to run the Mac binary? Needs investigation
|
||||
|
|
@ -62,7 +62,7 @@ jobs:
|
|||
- name: Setup Zig
|
||||
run: |
|
||||
brew install xz
|
||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.9.0-dev.453+7ef854682.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.642+b87105c92.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||
- name: mach::test
|
||||
run: zig build test
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue