pcbjam/.github/workflows
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi f49d536f95 fix(build): wx 'zlib.h not found' CI flake — self-heal zlib port + deterministic cache touch
Two fixes for the intermittent wx-build failure on CI (zipstrm.cpp: fatal
error: 'zlib.h' file not found, surviving the serial retry):

- build-wx-wasm.sh: --with-zlib=sys resolves to the Emscripten zlib PORT,
  which only `embuilder build zlib` installs — and that ran only in the
  configure branch. A pre-configured build dir (CI cache) + fresh emsdk
  therefore died on any recompile of a zlib-using TU. Ensure the port
  before every make; --force because embuilder stamps the port on libz.a
  alone, so a half-populated cache would no-op.

- wasm-build.yml: the cache-restore `touch {} +` stamped files ns-apart in
  readdir order; GNU make 4.x compares ns mtimes, so objects touched before
  a generated header they depend on (wx/setup.h, pcre2.h via .deps/*.d)
  recompiled — a random subset per run, which is what made the failure
  flaky. Use one shared timestamp instead: equal mtimes = up to date.

Reproduced + validated locally (remove sysroot zlib.h + one .o → exact CI
failure; with fix, self-heals in 0.5s; Linux make ns/equal-mtime behavior
verified in a container).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XeiSRRScdaox5jBueJNcyG
2026-07-02 09:59:32 +02:00
..
ci-ubicloud.yml feat(tests): screenshot regression + Discord review, perf-tracked 2026-07-01 18:17:20 +02:00
deploy-demo.yml feat(standalone): demo follow-ups — waitlist, analytics, move-to-local, file tree, load progress 2026-06-27 07:59:09 +02:00
publish-libs.yml feat(deploy): publish-libs CI + full clone (C1.3) 2026-06-20 12:47:38 +02:00
release.yml perf(cdn): publish demo WASM as brotli-q11 + no-transform 2026-07-01 12:21:54 +02:00
screenshot-changelog.yml feat(tests): screenshot regression + Discord review, perf-tracked 2026-07-01 18:17:20 +02:00
wasm-build.yml fix(build): wx 'zlib.h not found' CI flake — self-heal zlib port + deterministic cache touch 2026-07-02 09:59:32 +02:00
wasm-opt-bench.yml ci: ephemeral Hetzner CI — full build + e2e on main push, all else dispatch-only 2026-06-11 07:50:47 +02:00