Commit graph

46 commits

Author SHA1 Message Date
Stephen Gutekanst
877779848d gpu-dawn: CI: correctly clone libs/mach-glfw on Windows
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-05 02:51:07 -07:00
Stephen Gutekanst
ab58515b4b gpu-dawn: CI: use actions/checkout@v3 on Windows
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-04 22:25:37 -07:00
Stephen Gutekanst
50b2c9d705 gpu-dawn: CI: begin producing binaries for x86_64-windows
Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-04 21:43:15 -07:00
Stephen Gutekanst
bcbddfeec8 gpu-dawn: CI: build releases for glibc AND musl
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-28 02:27:49 -07:00
Stephen Gutekanst
5b594ce40e gpu-dawn: do not include OS and libc version in download URLs
I'm not sure including the OS and libc version in download URLs makes much sense. It may
be useful to include them as metadata in the future alongside the release, but it seems
better to exclude these from the URL (especially so that others can download them from a
script without fear of them changing for non-Zig consumption.)

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-28 02:20:37 -07:00
Stephen Gutekanst
a68c73bc68 gpu-dawn: CI: be more explicit about which libc we target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-28 02:01:20 -07:00
Stephen Gutekanst
028b7d8034 gpu-dawn: CI: upload headers.json + tarball
Fixes hexops/mach#171
Helps hexops/mach#109

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 19:29:58 -07:00
Stephen Gutekanst
6a227db2a8 gpu-dawn: CI: correct potential race condition pointing to wrong binary release
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 16:20:21 -07:00
Stephen Gutekanst
805de702ee gpu-dawn: rename -Dfrom-source to -Ddawn-from-source
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 15:51:56 -07:00
Stephen Gutekanst
4ba7172626 gpu-dawn: explicitly target <arch>-macos.12
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 14:53:53 -07:00
Stephen Gutekanst
85dbc406ff gpu-dawn: abide by GitHub release filename restrictions
GitHub releases impose [some weird restrictions on uploaded filenames](https://twitter.com/slimsag/status/1498025997987315713),
so we now abide by those.

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 13:48:16 -07:00
Stephen Gutekanst
a74aa06764 gpu-dawn: CI: build release/debug binaries in parallel
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 00:27:14 -07:00
Stephen Gutekanst
b749e23fe2 gpu-dawn: include full target triple in binary releases
Fixes hexops/mach#170

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 00:02:26 -07:00
Stephen Gutekanst
d23147b653 gpu-dawn: CI: publish release after linux+x86 macos instead of m1
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 02:11:51 -07:00
Stephen Gutekanst
d8a00bd672 gpu-dawn: CI: use Zig libc versions not the system versions
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 00:29:19 -07:00
Stephen Gutekanst
f0c43b76a2 gpu-dawn: CI: avoid double-publish incidents
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 23:31:52 -07:00
Stephen Gutekanst
ceed8f0621 gpu-dawn: CI: publish linux-x86_65 binary releases
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 22:48:25 -07:00
Stephen Gutekanst
9126a3211b gpu-dawn: CI: prevent race condition with multiple publishes
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 22:48:25 -07:00
Stephen Gutekanst
bc4abbdfa6 gpu-dawn: CI: correct actions syntax for workflow_run conclusion
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 22:35:21 -07:00
Stephen Gutekanst
4179248811 gpu-dawn: CI: fix infinite build -> release -> build -> release cycle
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 22:20:29 -07:00
Stephen Gutekanst
5a07cd3d09 gpu-dawn: CI: prevent infinite loop of build -> release -> build -> release
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 20:08:45 -07:00
Stephen Gutekanst
5e38f6773a gpu-dawn: CI: cleanup publish_release.yml
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 17:20:28 -07:00
Stephen Gutekanst
5b19a1a851 gpu-dawn: CI: correct push to hexops/mach
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 16:41:32 -07:00
Stephen Gutekanst
ef22780ca9 gpu-dawn: update binary version in correct repository
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:39:29 -07:00
Stephen Gutekanst
6f5f679a58 gpu-dawn: CI: correct monorepo checkout during publishing
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
bb8bb964dc gpu-dawn: CI: fix YAML syntax
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
9f4014189e gpu-dawn: CI: automatically update hard-coded binary release version to use
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
01ca3b8beb gpu-dawn: CI: build+upload debug & release-fast binary releases
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
4a5cc73edc gpu-dawn: CI: M1: skip sudo when cleaning up git submodules
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
3ccbe1f7c7 gpu-dawn: CI: cleanup git submodules in M1 runner
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
378c0af65e gpu-dawn: CI: cleanup git submodules in M1 runner
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
b994c85982 gpu-dawn: build Dawn from source in CI
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
f878524fde gpu-dawn: fix os-arch in CI pipelines
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
df61d34811 gpu-dawn: CI: remove debug steps
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
43c4795e48 gpu-dawn: CI: correct triple format in release uploads
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
7bc8a6ac57 gpu-dawn: use "release-<SHA>" not "<SHA>" for release tags
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
5e4bff902b gpu-dawn: disable aarch64-macos / x86_64-linux CI runners for now
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
c396c27b2b gpu-dawn: update CI to latest Zig nightly
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
97048a58de gpu-dawn: upload gzip binaries properly
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
a432f3a878 gpu-dawn: remove incorrect CI workflow dependencies
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
c370e007fd gpu-dawn: checkout repo so we can use git rev-parse
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
b93dc4a207 gpu-dawn: authenticate the GH CLI
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
1807e7b2f3 gpu-dawn: begin publishing prebuilt binaries
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
38eb708614 gpu-dawn: remove symlink before cloning mach-glfw
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
c0901d4006 gpu-dawn: move mach-glfw cloning to CI script for now
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00
Stephen Gutekanst
e6e5c7f14a gpu-dawn: have CI build gpu-dawn for Linux & macOS
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00