Skip to content

Commit 5ac6a74

Browse files
alyssaisstefano-garzarella
authored andcommitted
CI: run cargo doc
Link: #877 (comment) Signed-off-by: Alyssa Ross <[email protected]>
1 parent c522d09 commit 5ac6a74

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.buildkite/main-tests.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
"test_name": "style",
2222
"command": "cargo fmt --all -- --check --config format_code_in_doc_comments=true"
2323
},
24+
{
25+
"test_name": "doc",
26+
"command": "RUSTDOCFLAGS=\"-D warnings\" cargo doc --workspace --all-features --no-deps"
27+
},
2428
{
2529
"test_name": "unittests-gnu",
2630
"command": "CROSVM_USE_SYSTEM_VIRGLRENDERER=1 CROSVM_USE_SYSTEM_MINIGBM=1 cargo test --all-features --workspace",
@@ -110,4 +114,4 @@
110114
]
111115
}
112116
]
113-
}
117+
}

.buildkite/staging-tests.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
"test_name": "staging: style",
2323
"command": "cd staging && cargo fmt --all -- --check --config format_code_in_doc_comments=true"
2424
},
25+
{
26+
"test_name": "staging: doc",
27+
"command": "cd staging && RUSTDOCFLAGS=\"-D warnings\" cargo doc --workspace --all-features --no-deps"
28+
},
2529
{
2630
"test_name": "staging: unittests-gnu",
2731
"command": "cd staging && cargo test --all-features --workspace",

0 commit comments

Comments
 (0)