wolfTPM/.github/actions
Aidan Garske 4d606bc716 CI: ghcr image for apt deps, cache ibmswtpm2/wolfSSL builds
Kill the intermittent apt-get mirror timeouts and rebuild waste in CI.

apt deps (wolfBoot model):
- Add .github/docker/wolftpm-ci/Dockerfile baking the common CI apt deps
  (autoconf, automake, build-essential, clang, clang-tools, cmake, git,
  libtool, libtss2-tcti-mssim0, pkg-config, tpm2-tools, valgrind, ...).
- Add publish-ci-image.yml to build/push ghcr.io/<owner>/wolftpm-ci:v1.0.
  Image namespace follows the repo owner so a fork publishes and consumes
  its own image; lowercases the owner for the push tag.
- Move the apt-using Linux jobs into `container:` (sanitizer, pqc-examples,
  release-checks scan_build, cmake-build static-export, wolfssl-versions-pqc,
  fwtpm-test ibmswtpm/valgrind). unshare --net jobs get SYS_ADMIN/NET_ADMIN/
  NET_RAW caps so they can create a netns inside the container.
- Add a reusable apt-retry action and use it for the jobs that cannot move
  into the image (mixed-OS matrices, version-specific compilers, mono,
  zephyr, CodeQL), giving bounded retries + Acquire timeouts.

cached builds:
- Add setup-ibmswtpm action (resolve commit -> actions/cache -> build on
  miss) and replace the 3 clone+make sites; fwtpm uses MAX_LOADED_OBJECTS=7.
- Add setup-wolfcose action (cache wolfCOSE source builds, keyed on the
  wolfSSL SHA) ready for future wolfCOSE coverage.
- Add inline wolfSSL build caching (resolve SHA -> actions/cache -> build on
  miss) to the jobs that still rebuilt it every run: release-checks,
  multi-compiler, coverity-scan-fixes, and make-test-swtpm old-wolfssl.
2026-06-18 16:00:00 -07:00
..
apt-retry CI: ghcr image for apt deps, cache ibmswtpm2/wolfSSL builds 2026-06-18 16:00:00 -07:00
setup-ibmswtpm CI: ghcr image for apt deps, cache ibmswtpm2/wolfSSL builds 2026-06-18 16:00:00 -07:00
setup-wolfcose CI: ghcr image for apt deps, cache ibmswtpm2/wolfSSL builds 2026-06-18 16:00:00 -07:00
setup-wolfssl ci: cache and share wolfSSL builds across workflows 2026-06-09 10:50:03 -07:00
wait-for-smoke ci: add preflight smoke-test workflow and wait-for-smoke action 2026-05-20 15:37:35 -07:00