Commit Graph
10 Commits
Author SHA1 Message Date
Lorenz Leutgeb de43682f16 rust: 1.97.1 → 1.98.0
The changes to `**/args.rs` are due to better linting: Clippy found that
we may use `as_chunks`. Note that this function was stabilized in 1.88.0.
2026-08-30 14:28:36 +02:00
Lars Wirzenius a62b808773 ambient: Drop building of *.deb package in CI
The `*.deb` packaging has moved t radicle-apt-repo,
so there is no point in trying to build it in heartwood CI.
2026-08-23 18:27:01 +02:00
Lars Wirzenius d840fe006f ambient: Match rust-toolchain.toml
Update the rustup action in the pre-plan in `.radicle/ambient.yaml`
to use the same toolchain and components as `rust-toolchain.toml`
specifies. This allows `cargo` commands to work.
2026-08-23 18:26:30 +02:00
Fintan Halpenny 9381232604 .radicle/ambient: Add pre-plan action for rustup
To ensure the correct toolchain is used when building and testing the
project, a pre-plan action is added for `rustup`.
It uses the same `channel` as defined in the `rust-toolchain.toml`.
A note is left about this duplication, and the possibility of it being
supported in the future.

Note that this includes a workaround:
```
sed -i /components/d rust-toolchain.toml
```
which ensures that `components` are removed, since Ambient does not
support `components` at this time.
2026-05-19 10:46:50 +01:00
Erik Kundt 7ccdd4c810 ci: Activate all features when building docs
Currently, `cargo doc` fails on warnings for missing links to
`qcheck` and `radicle_git_ref_format`. This will enable the required
features to compile those modules in.
2025-11-03 11:30:43 +01:00
Erik Kundt 101fbff809 ci: Deny cargo doc warnings
A job should fail whenever `rust doc` emits warnings.
2025-09-15 12:23:11 +02:00
Lars Wirzenius ebc8d037d9 ci(.radicle/ambient.yaml): CI plan for Radicle CI Ambient adapter
With this file, Radicle CI can use the Ambient adapter to run CI on
patches.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-04-16 12:25:51 +03:00
Lars Wirzenius 7d28d1e648 ci: don't build docs for depedencies
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-01-14 13:45:34 +01:00
Lars Wirzenius dfe89fb303 ci: only deny warnings, not all clippy lints
Change configuration of native CI to only deny warnings from the
compiler, but no all clippy lints.

Previously we ran "cargo clippy --all-targets --workspace -- --deny
clippy::all", which overrides the allows for specific clippy lints in
the source code. We don't want that.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-01-14 13:45:34 +01:00
Lars Wirzenius f03c734e85 build: add config for Radicle native CI engine
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-01-19 11:29:23 +01:00