gpu-dawn: CI: upload headers.json + tarball
Fixes hexops/mach#171 Helps hexops/mach#109 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
262422edde
commit
028b7d8034
5 changed files with 69 additions and 24 deletions
24
gpu-dawn/.github/workflows/ci.yml
vendored
24
gpu-dawn/.github/workflows/ci.yml
vendored
|
|
@ -22,11 +22,9 @@ jobs:
|
|||
- name: install (debug)
|
||||
run: zig build install -Ddawn-from-source=true -Dtarget=x86_64-linux
|
||||
- name: upload (debug)
|
||||
run: |
|
||||
mv zig-out/lib/libdawn.a zig-out/lib/libdawn_x86_64-linux-gnu_debug.a
|
||||
gzip -9 zig-out/lib/libdawn_x86_64-linux-gnu_debug.a
|
||||
gh release upload "release-$(git rev-parse --short HEAD)" zig-out/lib/libdawn_x86_64-linux-gnu_debug.a.gz
|
||||
run: ./dev/upload-release.sh
|
||||
env:
|
||||
RELEASE_NAME: x86_64-linux-gnu_debug
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
x86_64-linux_release-fast:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -45,11 +43,9 @@ jobs:
|
|||
- name: install (release-fast)
|
||||
run: zig build install -Ddawn-from-source=true -Drelease-fast=true -Dtarget=x86_64-linux
|
||||
- name: upload (release-fast)
|
||||
run: |
|
||||
mv zig-out/lib/libdawn.a zig-out/lib/libdawn_x86_64-linux-gnu_release-fast.a
|
||||
gzip -9 zig-out/lib/libdawn_x86_64-linux-gnu_release-fast.a
|
||||
gh release upload "release-$(git rev-parse --short HEAD)" zig-out/lib/libdawn_x86_64-linux-gnu_release-fast.a.gz
|
||||
run: ./dev/upload-release.sh
|
||||
env:
|
||||
RELEASE_NAME: x86_64-linux-gnu_release-fast
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# TODO(build-system): enable windows CI here once gpu-dawn builds under Windows
|
||||
# x86_64-windows:
|
||||
|
|
@ -90,11 +86,9 @@ jobs:
|
|||
env:
|
||||
AGREE: true
|
||||
- name: upload (debug)
|
||||
run: |
|
||||
mv zig-out/lib/libdawn.a zig-out/lib/libdawn_x86_64-macos.12---12-gnu_debug.a
|
||||
gzip -9 zig-out/lib/libdawn_x86_64-macos.12---12-gnu_debug.a
|
||||
gh release upload "release-$(git rev-parse --short HEAD)" zig-out/lib/libdawn_x86_64-macos.12---12-gnu_debug.a.gz
|
||||
run: ./dev/upload-release.sh
|
||||
env:
|
||||
RELEASE_NAME: x86_64-macos.12---12-gnu_debug
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
x86_64-macos_release-fast:
|
||||
runs-on: macos-latest
|
||||
|
|
@ -115,9 +109,7 @@ jobs:
|
|||
env:
|
||||
AGREE: true
|
||||
- name: upload (release-fast)
|
||||
run: |
|
||||
mv zig-out/lib/libdawn.a zig-out/lib/libdawn_x86_64-macos.12---12-gnu_release-fast.a
|
||||
gzip -9 zig-out/lib/libdawn_x86_64-macos.12---12-gnu_release-fast.a
|
||||
gh release upload "release-$(git rev-parse --short HEAD)" zig-out/lib/libdawn_x86_64-macos.12---12-gnu_release-fast.a.gz
|
||||
run: ./dev/upload-release.sh
|
||||
env:
|
||||
RELEASE_NAME: x86_64-macos.12---12-gnu_release-fast
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue