openpencil/.github/workflows
Kayshen-X 372dfac047 ci(shell-native): force xvfb GLX + mesa software-render for P0 probe
Linux P0 probe was failing with `GLXBadWindow` because:
- bare `xvfb-run` brings up Xvfb with default args (no `+extension GLX`);
  the X server then advertises no GLX FBConfigs, so winit's X11 backend
  fails when glutin tries to create a GL window.
- the runner has no GPU, so even with GLX enabled mesa would not pick a
  hardware visual; without a software fallback configured glutin cannot
  resolve `ContextApi::OpenGl`.

Fix:
- pass `xvfb-run -s "-screen 0 1280x1024x24 +extension GLX +render
  -noreset"` so Xvfb advertises a 24-bit GLX-capable visual.
- set `LIBGL_ALWAYS_SOFTWARE=1`, `GALLIUM_DRIVER=llvmpipe`, and
  `MESA_GL_VERSION_OVERRIDE=4.5` so mesa loads llvmpipe (CPU
  rasterizer) and reports a desktop-GL version high enough for skia.

These env vars propagate naturally from the workflow shell down through
xvfb-run → cargo → the spawned `cargo run --example p0_probe`
subprocess (probe runs each verification in a fresh process so winit's
EventLoop singleton guard doesn't trip).
2026-05-05 12:23:07 +08:00
..
build-electron.yml fix(ci): always source-build agent-native and bundle to napi/ root 2026-04-26 19:20:48 +08:00
ci.yml V0.7.1 (#103) 2026-04-13 21:40:40 +08:00
docker.yml V0.7.0 (#95) 2026-04-11 23:25:13 +08:00
publish-cli.yml fix(ci): always source-build agent-native and bundle to napi/ root 2026-04-26 19:20:48 +08:00
rust-check.yml ci(shell-native): force xvfb GLX + mesa software-render for P0 probe 2026-05-05 12:23:07 +08:00
wasm-bundle-check.yml chore(workspace): bump CI yaml + README toolchain refs 1.82 → 1.85 2026-05-03 23:50:00 +08:00