Update nix build command

This commit is contained in:
NeilClack
2026-08-07 15:32:41 -05:00
parent 23821e1be6
commit ae12d50116
2 changed files with 7 additions and 3 deletions
+4 -2
View File
@@ -201,8 +201,10 @@ cached.
- Build needs SDL3 + SDL3_ttf/image/mixer/net + GTest installed; CI uses
Gitea Actions on a self-hosted host runner (`build-server`, no docker).
The workflow lives in `.gitea/workflows/build.yml` and runs on both `dev`
and `main`. It runs `nix build -L .#checks.default` (build + the offline
test suite); when the `RW_LIVE_API_KEY` secret is set it also runs
and `main`. It runs `nix build -L .#checks.<system>.default` (build + the
offline test suite; `checks` is keyed per-system, so the workflow resolves
the current system via `nix eval --impure --expr 'builtins.currentSystem'`);
when the `RW_LIVE_API_KEY` secret is set it also runs
`test_api_client` / `test_license_service` against the portal via
`nix develop` (outside the sandbox, like a dev machine).
- `test_assets` must pass before committing — it catches missing fonts/images