CI: rfl: add a couple comments to split the steps and document them

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This commit is contained in:
Miguel Ojeda 2024-08-10 14:56:22 +02:00
parent 1f12b9b0fd
commit 992dd0bbe3

View File

@ -62,11 +62,20 @@ make -C linux LLVM=1 -j$(($(nproc) + 1)) \
defconfig \ defconfig \
rfl-for-rust-ci.config rfl-for-rust-ci.config
# Build a few Rust targets
#
# This does not include building the C side of the kernel nor linking,
# which can find other issues, but it is much faster.
#
# This includes transforming `rustdoc` tests into KUnit ones thanks to
# `CONFIG_RUST_KERNEL_DOCTESTS=y` above (which, for the moment, uses the
# unstable `--test-builder` and `--no-run`).
make -C linux LLVM=1 -j$(($(nproc) + 1)) \ make -C linux LLVM=1 -j$(($(nproc) + 1)) \
samples/rust/rust_minimal.o \ samples/rust/rust_minimal.o \
samples/rust/rust_print.o \ samples/rust/rust_print.o \
drivers/net/phy/ax88796b_rust.o \ drivers/net/phy/ax88796b_rust.o \
rust/doctests_kernel_generated.o rust/doctests_kernel_generated.o
# Generate documentation
make -C linux LLVM=1 -j$(($(nproc) + 1)) \ make -C linux LLVM=1 -j$(($(nproc) + 1)) \
rustdoc rustdoc