Commit Graph

2 Commits

Author SHA1 Message Date
raphael db426cbeed ci: bootstrap node before actions/checkout on Gitea runners
`actions/checkout@v4` is a JavaScript action — it expects `node` on
PATH in the runner image.  Gitea Actions (and local `act`) running
against `ubuntu:24.04` had neither node nor git pre-installed, so
checkout failed with:

    Failure - Main actions/checkout@v4
  exitcode '127': command not found

The pre-step now installs nodejs + git + ca-certificates from apt
before checkout runs.  The rest of the C++ toolchain installs in a
second step after the source tree is on disk.

Doesn't affect GitHub-hosted runners (their images already have node);
doesn't change build behaviour either.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-09 14:40:44 +02:00
raphael 16b734e946 #1 CI: run unit tests on push to main + on PRs
tests / build-and-test (push) Failing after 35s
Gitea Actions workflow at .gitea/workflows/ci.yml.  Spins up an
ubuntu:24.04 container, installs the same apt deps the Dockerfile uses
(build-essential, cmake, ninja-build, libasio-dev, libyaml-cpp-dev,
python3, python3-yaml), checks out, runs cmake + ninja, and executes
the doctest binary.

Runs the same toolchain as the local Docker setup; no docker-in-docker
required.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-02 09:54:23 +02:00