Update nix build command
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user