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:
parent
c522d09759
commit
5ac6a74e71
2 changed files with 9 additions and 1 deletions
|
|
@ -21,6 +21,10 @@
|
||||||
"test_name": "style",
|
"test_name": "style",
|
||||||
"command": "cargo fmt --all -- --check --config format_code_in_doc_comments=true"
|
"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",
|
"test_name": "unittests-gnu",
|
||||||
"command": "CROSVM_USE_SYSTEM_VIRGLRENDERER=1 CROSVM_USE_SYSTEM_MINIGBM=1 cargo test --all-features --workspace",
|
"command": "CROSVM_USE_SYSTEM_VIRGLRENDERER=1 CROSVM_USE_SYSTEM_MINIGBM=1 cargo test --all-features --workspace",
|
||||||
|
|
@ -110,4 +114,4 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,10 @@
|
||||||
"test_name": "staging: style",
|
"test_name": "staging: style",
|
||||||
"command": "cd staging && cargo fmt --all -- --check --config format_code_in_doc_comments=true"
|
"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",
|
"test_name": "staging: unittests-gnu",
|
||||||
"command": "cd staging && cargo test --all-features --workspace",
|
"command": "cd staging && cargo test --all-features --workspace",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue