CI: cleanup naming conventions (#11)

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-07-25 17:18:06 -07:00 committed by GitHub
parent 4f5588a70c
commit 356c2e673f
Failed to generate hash of commit

View file

@ -2,7 +2,7 @@ name: CI
on:
- push
jobs:
linux:
x86_64-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
@ -11,7 +11,7 @@ jobs:
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'
- name: mach::test cross Linux->MacOS
- name: x86_64-linux -> x86_64-macos
run: zig build test -Dtarget=x86_64-macos
env:
AGREE: true
@ -20,7 +20,7 @@ jobs:
# run: zig build test
- name: webgpu::test
run: cd webgpu && zig build test
windows:
x86_64-windows:
runs-on: windows-latest
steps:
- name: Checkout
@ -33,7 +33,7 @@ jobs:
cd C:\
7z x zig.zip
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.9.0-dev.441+7b5d139fd\"
- name: mach::test cross Windows->MacOS
- name: cross 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
run: zig build install -Dtarget=x86_64-macos
@ -57,7 +57,7 @@ jobs:
run: zig build test
env:
AGREE: true
- name: mach::test cross x86_64-macos -> aarch64-macos
- name: cross x86_64-macos -> aarch64-macos
run: zig build test -Dtarget=aarch64-macos
env:
AGREE: true