gpu-dawn: disable aarch64-macos / x86_64-linux CI runners for now

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-02-11 17:45:14 -07:00 committed by Stephen Gutekanst
parent c396c27b2b
commit 5e4bff902b
2 changed files with 43 additions and 38 deletions

View file

@ -11,21 +11,25 @@ jobs:
run:
shell: "/usr/bin/arch -arch arm64e /bin/bash --noprofile --norc -eo pipefail {0}"
steps:
- name: Checkout
uses: actions/checkout@v2
# TODO(build-system): remove this step, uncomment the steps below, and fix the M1 CI runner.
- name: Setup Zig
run: |
zig version
- name: Clone mach-glfw
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
- name: install
run: zig build install && find zig-out/
env:
AGREE: true
- name: upload
run: |
mv zig-out/lib/libdawn.a zig-out/lib/libdawn_aarch64-macos.a
gzip -9 zig-out/lib/libdawn_aarch64-macos.a
gh release upload $(git rev-parse --short HEAD) zig-out/lib/libdawn_aarch64-macos.a.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Checkout
# uses: actions/checkout@v2
# - name: Setup Zig
# run: |
# zig version
# - name: Clone mach-glfw
# run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
# - name: install
# run: zig build install && find zig-out/
# env:
# AGREE: true
# - name: upload
# run: |
# mv zig-out/lib/libdawn.a zig-out/lib/libdawn_aarch64-macos.a
# gzip -9 zig-out/lib/libdawn_aarch64-macos.a
# gh release upload $(git rev-parse --short HEAD) zig-out/lib/libdawn_aarch64-macos.a.gz
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}