CI: run cargo doc

Link: https://github.com/rust-vmm/vhost-device/pull/877#issuecomment-3307110037
Signed-off-by: Alyssa Ross <hi@alyssa.is>
This commit is contained in:
Alyssa Ross 2025-09-19 11:49:28 +02:00 committed by Stefano Garzarella
parent c522d09759
commit 5ac6a74e71
2 changed files with 9 additions and 1 deletions

View File

@ -21,6 +21,10 @@
"test_name": "style",
"command": "cargo fmt --all -- --check --config format_code_in_doc_comments=true"
},
{
"test_name": "doc",
"command": "RUSTDOCFLAGS=\"-D warnings\" cargo doc --workspace --all-features --no-deps"
},
{
"test_name": "unittests-gnu",
"command": "CROSVM_USE_SYSTEM_VIRGLRENDERER=1 CROSVM_USE_SYSTEM_MINIGBM=1 cargo test --all-features --workspace",
@ -110,4 +114,4 @@
]
}
]
}
}

View File

@ -22,6 +22,10 @@
"test_name": "staging: style",
"command": "cd staging && cargo fmt --all -- --check --config format_code_in_doc_comments=true"
},
{
"test_name": "staging: doc",
"command": "cd staging && RUSTDOCFLAGS=\"-D warnings\" cargo doc --workspace --all-features --no-deps"
},
{
"test_name": "staging: unittests-gnu",
"command": "cd staging && cargo test --all-features --workspace",