CI: update to latest nightly Zig b87105c92 (#13)

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-07-25 17:41:12 -07:00 committed by GitHub
parent c9af091855
commit 5891912171
Failed to generate hash of commit

View file

@ -10,7 +10,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.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 - 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:
@ -33,10 +33,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.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:\ cd C:\
7z x zig.zip 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 - name: x86_64-windows -> x86_64-macos
# TODO(slimsag): bug: `zig build test -Dtarget=x86_64-macos` fails on Windows with `error: Unexpected` # 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 # 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 - 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.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 - name: mach::test
run: zig build test run: zig build test
env: env: