diff options
Diffstat (limited to '.github/ci/doc.sh')
| -rwxr-xr-x | .github/ci/doc.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/ci/doc.sh b/.github/ci/doc.sh index 72c6465f7..947823b1f 100755 --- a/.github/ci/doc.sh +++ b/.github/ci/doc.sh | |||
| @@ -9,6 +9,12 @@ export CARGO_TARGET_DIR=/ci/cache/target | |||
| 9 | export BUILDER_THREADS=6 | 9 | export BUILDER_THREADS=6 |
| 10 | export BUILDER_COMPRESS=true | 10 | export BUILDER_COMPRESS=true |
| 11 | 11 | ||
| 12 | # force rustup to download the toolchain before starting building. | ||
| 13 | # Otherwise, the docs builder is running multiple instances of cargo rustdoc concurrently. | ||
| 14 | # They all see the toolchain is not installed and try to install it in parallel | ||
| 15 | # which makes rustup very sad | ||
| 16 | rustc --version > /dev/null | ||
| 17 | |||
| 12 | docserver-builder -i ./embassy-stm32 -o crates/embassy-stm32/git.zup | 18 | docserver-builder -i ./embassy-stm32 -o crates/embassy-stm32/git.zup |
| 13 | docserver-builder -i ./embassy-boot/boot -o crates/embassy-boot/git.zup | 19 | docserver-builder -i ./embassy-boot/boot -o crates/embassy-boot/git.zup |
| 14 | docserver-builder -i ./embassy-boot/nrf -o crates/embassy-boot-nrf/git.zup | 20 | docserver-builder -i ./embassy-boot/nrf -o crates/embassy-boot-nrf/git.zup |
