mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-11 23:53:01 +02:00
add Complement support to the nix flake
Co-authored-by: strawberry <strawberry@puppygock.gay> Signed-off-by: AwesomeQubic <ThatQubicWah@protonmail.com> Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
56168fcb4e
commit
12f79f6c2d
6 changed files with 707 additions and 119 deletions
|
@ -4,13 +4,12 @@
|
|||
|
||||
Have a look at [its repository](https://github.com/matrix-org/complement).
|
||||
|
||||
## How do I use it with Conduit?
|
||||
## How do I use it with conduwuit?
|
||||
|
||||
The script at [`../bin/complement`](../bin/complement) has automation for this.
|
||||
It takes a few command line arguments:
|
||||
For reproducible results, Complement support in conduwuit uses Nix to run and generate an image.
|
||||
|
||||
- Path to Complement's source code
|
||||
- A `.jsonl` file to write test logs to
|
||||
- A `.jsonl` file to write test results to
|
||||
After installing Nix, you can run either:
|
||||
|
||||
Example: `./bin/complement "../complement" "logs.jsonl" "results.jsonl"`
|
||||
- `nix run #.complement-runtime -- ./path/to/logs.jsonl ./path/to/results.jsonl` to build a Complement image, run the tests, and output the logs and results to the specified paths.
|
||||
|
||||
- `nix run #.complement-image` to just build a Complement image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue