Commit graph

65 commits

Author SHA1 Message Date
Stephen Gutekanst
bbb276854b all: update to Zig 0.10.0-dev.3027+0e26c6149
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-07-17 09:20:48 -07:00
Stephen Gutekanst
322ead9218 CI: ZIG_VERSION=0.10.0-dev.2439+c84f5a5f9 ./dev/update-zig.sh
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-05-31 05:02:04 -07:00
Stephen Gutekanst
1eab0539d1 CI: correct M1 runner Zig version
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-05-31 04:11:43 -07:00
Stephen Gutekanst
c2111e0691 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:39:45 -07:00
Stephen Gutekanst
539b643267 CI: rename macos-gnu target -> macos-none
Reflecting breaking change in latest version of Zig

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-05-31 03:24:34 -07:00
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
Stephen Gutekanst
257d4a92f2 gpu-dawn: CI: always upgrade Zig M1 CI version
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-05-31 03:24:34 -07:00
Stephen Gutekanst
0be7b091a5 gpu-dawn: CI: standardize M1 CI name
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
89c9c6c8e1 CI: correct YAML syntax / regression
Helps hexops/mach#248

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-04-21 03:41:38 -07:00
iddev5
bb65083561 CI: dont run aarch64-mac workflow on forks
The workflow uses a self hosted runner which is only available for
hexops/mach* repositories. Without this commit, whenever a fork of mach
or mach-* were pushed, it would queue an aarch64-mac job and then crash
after one day due to no machines being found.
2022-04-19 20:12:22 -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
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