mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
autotest: build docs on each autotest run
This commit is contained in:
parent
04eb1de7a5
commit
61507ccd20
@ -125,6 +125,8 @@ echo $githash > "buildlogs/history/$hdate/githash.txt"
|
||||
|
||||
(cd APM && Tools/scripts/build_parameters.sh)
|
||||
|
||||
(cd APM && Tools/scripts/build_docs.sh)
|
||||
|
||||
timelimit 5200 APM/Tools/autotest/autotest.py --timeout=5000 > buildlogs/autotest-output.txt 2>&1
|
||||
|
||||
) >> build.log 2>&1
|
||||
|
15
Tools/scripts/build_docs.sh
Executable file
15
Tools/scripts/build_docs.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# work from either APM directory or above
|
||||
[ -d ArduPlane ] || cd APM
|
||||
|
||||
export DOCS_OUTPUT_BASE=../buildlogs/docs
|
||||
|
||||
(
|
||||
./docs/build-libs.sh
|
||||
./docs/build-arduplane.sh
|
||||
./docs/build-arducopter.sh
|
||||
./docs/build-apmrover2.sh
|
||||
) > ../buildlogs/build_docs.log 2>&1
|
Loading…
Reference in New Issue
Block a user