Skip to content

Commit 799b953

Browse files
committed
ci: Workaround for docgen dependency problem
The docgen target seems to try building the docs before the generated headers are present. Work around this by making a full build first, and then generating the docs. Signed-off-by: David Brown <[email protected]>
1 parent 0cd6892 commit 799b953

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ jobs:
4545
working-directory: zephyr-lang-rust
4646
run: |
4747
# Note that the above build doesn't set Zephyrbase, so we'll need to do that here.
48-
west build -t rustdoc -b qemu_cortex_m3 docgen
48+
west build -b qemu_cortex_m3 docgen
49+
west build -t rustdoc
4950
mkdir rustdocs
5051
mv build/rust/target/thumbv7m-none-eabi/doc rustdocs/nostd
5152

0 commit comments

Comments
 (0)