CI: add build matrix for projects (#46)

* CI: add build matrix for projects

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-10-24 18:32:57 -07:00 committed by GitHub
parent a0677ea6a5
commit 8466a5ff08
Failed to generate hash of commit
2 changed files with 27 additions and 23 deletions

View file

@ -10,6 +10,9 @@ on:
jobs:
aarch64-macos:
runs-on: [self-hosted, macOS, ARM64]
strategy:
matrix:
project: ['.', 'glfw']
defaults:
run:
shell: "/usr/bin/arch -arch arm64e /bin/bash --noprofile --norc -eo pipefail {0}"
@ -31,5 +34,3 @@ jobs:
run: zig build test -Dtarget=x86_64-windows
- name: aarch64-macos -> x86_64-linux
run: zig build test -Dtarget=x86_64-linux
- name: webgpu::test
run: cd webgpu && zig build test