CI, releases and validation
ck-core-apps validates both its native Motif/CDE application cohort and its documentation site across two independent environments: GitHub Actions (ubuntu-24.04 / ubuntu-24.04-arm) and the self-hosted rpi4 (ck-git-hosting primary ARM64 sandbox).
Native cohort CI (scripts/build-native.sh)
Both .github/workflows/build.yml and .ckgit/ci.yml check out the latest master branch of CK Core Motif and CK Core CDE alongside ck-core-apps:
- Compiles CK Core Motif ABI 9 from a clean
git archivesnapshot with C23 (gcc-14/g++-14). - Generates an isolated
en_US.UTF-8locale (LOCPATH), builds CK Core CDE against the staged Motif prefix (--disable-docsto skip redundant SGML guide generation already covered byck-core-cdeCI), runsmake check(full ASan + UBSan on 48-bit VAubuntu-24.04-arm, and runtime-probed UBSan + functional checks insiderpi4's 39-bit VArpt-rpi-v8loopback/user-namespace sandbox), and stages CDE underfakeroot. - Builds all 13 native non-CEF
ck-core-appsbinaries and executesmake check(ck-load-icon-label-state-test). - Verifies every native executable and
dtwmcarrylibXm.so.9inreadelf -dWand thatmotif-abi-checkreportsCK Core Motif ABI 9at runtime. - Emits
receipt.txtrecording start/end UTC timestamps, elapsed seconds, host kernel, compiler toolchain, exactapps,motif, andcdeGit SHA-1 revisions, and SHA-256 digests of every built binary.
ck-browser is omitted from the offline cohort job because its external CEF binary archive is fetched on demand via ./download_cef.sh rather than stored in Git.
rpi4 sandbox runtime characteristics
On rpi4, ck-ci-runnerd executes each step inside unprivileged Linux user, mnt, and net namespaces (runs_on: primary):
- Read-only source checkouts:
/mnt/src(ck-core-appsand sister repositories) is mounted read-only; all scratch trees, staged SDK prefixes, and build outputs live under/mnt/tmp. - Compact scratch paths:
.ckgit/ci.ymlderives a short 12-character hex run suffix ($TMPDIR/apps-<run>) so ToolTalkttdbserverdtest paths stay well within its 120-byte ISAMlocalhost:<path>key limit. - Namespace & resource isolation: Steps run with single-UID user-namespace mapping (
0 -> ckgit,/proc/self/setgroups = deny), loopback-only networking without a per-namespace TCP/UDPrpcbindlistener on127.0.0.1:111, and boundedRLIMIT_FSIZE/ wall-clock limits.
Release-based ckdocs v0.11.0 documentation publishing
Documentation is built from ckdocs.yml and docs/ with ckdocs v0.11.0 in strict mode (ckdocs build --strict, failing on any broken link, heading fragment, unreferenced page, or invalid front matter) via scripts/build-docs.sh:
| Target | How ckdocs v0.11.0 is provisioned | Published URL |
|---|---|---|
GitHub Pages (.github/workflows/pages.yml) | Downloads the official ckdocs_0.11.0_amd64.deb release package from cklukas/ck-git-hosting (v0.11.0) and verifies its pinned SHA-256 digest before installing with dpkg. | https://cklukas.github.io/ck-core-apps/ |
rpi4 LAN Pages (.ckgit/ci.yml) | Compiles ckdocs (v0.11.0) offline inside the network-isolated primary runner from the pinned ck-git-hosting sister repository (fbe21b49d6c5d5afebffa3d3de745351e07c6b5e). | http://rpi4:8421/ck-core-apps/ |
Both builds generate HTML pages, tokenized client-side search (search-index.json), sitemap.xml, llms.txt, and companion Markdown exports, and archive receipt.txt recording the exact source commit and ckdocs --version.
Tag and release runs
On rpi4, .ckgit/ci.yml triggers on both branches: [main] and tags: [v*]:
mainbranch pushes: Publish updated documentation tock-gitPages and archive ephemeral build/documentation receipts.v*release tags: Execute the fulldocumentationandbuildverification jobs and store durable, non-expiring release evidence records onrpi4without overwriting default-branch Pages.
Validate documentation and the ck-git CI workflow locally before publishing:
ckdocs check --config ckdocs.yml
ckgit ci lint --rev HEAD
After publishing to rpi4, monitor runs and inspect receipts with:
ckgit ci status
ckgit ci watch
ckgit ci artifacts <run-id>
CK Core Apps