# SPDX-FileCopyrightText: 2026 Stan Grams # # SPDX-License-Identifier: GPL-2.0-or-later # # Example act_runner config for the Docker-executor runner that lives in the # CI VM. This is NOT the SDK image — it configures the runner that launches # per-job containers (including the trx-rs SDK image referenced by the # workflow's `container:` key). Copy to the VM and pass with # `act_runner daemon --config`. log: level: info runner: file: .runner # One concurrent job. With one runner per project on a 2-vCPU VM this keeps # total CI usage at ~2 threads. capacity: 1 timeout: 3h # Docker executor: no ":host" suffix. Maps runs-on labels to base images # (the workflow overrides these per job via `container:`). labels: - "ubuntu-latest:docker://catthehacker/ubuntu:act-latest" cache: enabled: true container: # Cap every job container's CPU so CI stays within the 2-thread budget even # if capacity is raised later. The -v mount persists the sccache cache on the # host (create it first: `mkdir -p /var/cache/sccache`), matching SCCACHE_DIR # in the workflow. options: "--cpus=2 -v /var/cache/sccache:/sccache" # Reuse the host VM's Docker network for the built-in cache/artifact server. network: "host"