gpu-dawn: Add CI #143
Labels
No labels
CI
all
basisu
blog
bug
build
contributor-friendly
core
correctness
deferred
dev
direct3d-headers
docs
driver-os-issue
duplicate
dxcompiler
editor
examples
experiment
feature-idea
feedback
flac
freetype
gamemode
gkurve
glfw
gpu
gpu-dawn
harfbuzz
help welcome
in-progress
infrastructure
invalid
libmach
linux-audio-headers
long-term
mach
mach.gfx
mach.math
mach.physics
mach.testing
model3d
needs-triage
object
opengl-headers
opus
os/linux
os/macos
os/wasm
os/windows
package-manager
priority
proposal
proposal-accepted
question
roadmap
slipped
stability
sysaudio
sysgpu
sysjs
validating-fix
vulkan-zig-generated
wayland-headers
website
wontfix
wrench
www
x11-headers
xcode-frameworks
zig-update
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hexops/mach#143
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
gpu-dawn is currently in a buildable state and as a result it needs to be checked regularly.
This was brought up in #142 and noticed in #139
Yes, definitely CI is needed. It's just been low on priority list compared to other improvements to this package (#86, #124, and #121)
One reason it's not as simple as just flipping the switch: Dawn build times are still in multiple minutes, don't want to have to wait that long for every pull request we have to unrelated code.
Ideally, it runs if there were changes to
mach/gpu-dawnonly. Not sure yet how to achieve that with GitHub Actions.Another option is that, since
mach/gpu-dawnwill be published to github.com/hexops/mach-gpu-dawn as a separate repo in the near future, we can just have CI run there. That's not as good, because it means PRs to it in this repo won't be tested, but better than what we have today for sure.This looks decent: https://github.com/tj-actions/changed-files
Think we'd just need to write the if condition, something like:
And add a step:
We've now got some relatively solid CI in place for gpu-dawn. Not perfect by any means, but it works.