mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-13 11:29:56 +03:00
Add total targets debug info
This commit is contained in:
parent
447fc7e1bd
commit
f6888f490e
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ if(DEFINED CI_JOB_INDEX AND DEFINED CI_JOB_COUNT)
|
|||
message("-- configuring CI job ${job_name}/${CI_JOB_COUNT}")
|
||||
get_property(targets GLOBAL PROPERTY RELEASE_TARGETS)
|
||||
list(LENGTH targets count)
|
||||
message("-- ${count} total targets")
|
||||
math(EXPR per_job "(${count}+${CI_JOB_COUNT}-1)/${CI_JOB_COUNT}")
|
||||
message("-- ${per_job} targets per job")
|
||||
math(EXPR start "${CI_JOB_INDEX}*${per_job}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue