Commit graph

42 commits

Author SHA1 Message Date
Stephen Gutekanst
3a81754973 CI: ZIG_VERSION=0.10.0-dev.2439+c84f5a5f9 ./dev/update-zig.sh
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-05-31 03:24:34 -07:00
Lee Cannon
4570838304
Update to latest Zig master (0.10.0-dev.2017+a0a2ce92c) (#261)
* use `@ceil` instead of `std.math.ceil`
* `ChildProcess.init` does not allocate anymore
* update CI zig version
* examples: temporarily switch to fork of zigimg compatible with zig-master

Commands executed:

```
git submodule set-url -- examples/libs/zigimg https://github.com/slimsag/zigimg
git submodule set-branch --branch zig-master -- examples/libs/zigimg
git submodule update --init --remote examples/libs/zigimg
```

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
Co-authored-by: Stephen Gutekanst <stephen@hexops.com>
2022-05-01 11:44:27 -07:00
Stephen Gutekanst
128fc0a444 gpu-dawn: update to Zig 0.10.0-dev.1600+af844931b
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-26 13:31:34 -07:00
Stephen Gutekanst
ed742ec7ca gpu-dawn: CI: use mainline Zig build again for Windows
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-26 13:26:26 -07:00
Stephen Gutekanst
4d7ace26a7 gpu-dawn: CI: uninstall libx11 on x86_64-macos to avoid conflicts
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-06 02:10:21 -07:00
Stephen Gutekanst
28ac8bd844 gpu-dawn: CI: correct Windows PATH for zig.exe
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-05 19:19:57 -07:00
Stephen Gutekanst
7e93d4f021 gpu-dawn: CI: correct Windows path to zig.exe
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-05 18:30:54 -07:00
Stephen Gutekanst
813ae21e8f gpu-dawn: CI: Make sure we download files 122x faster on Windows
https://twitter.com/slimsag/status/1500277717291323392

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-05 18:19:15 -07:00
Stephen Gutekanst
83f1104a0a gpu-dawn: CI: temporarily use patched Windows version of Zig
So that we can produce binary releases for Windows until upstream PR is
merged: https://github.com/hexops/mach/issues/167

Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-05 18:12:45 -07:00
Stephen Gutekanst
8dfcc8807a gpu-dawn: CI: update to latest Zig master
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-05 03:05:22 -07:00
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
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
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
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
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
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
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
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