mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-13 03:19:58 +03:00
Add more debugging info
This commit is contained in:
parent
ae637e1689
commit
20ea6c1b1c
1 changed files with 1 additions and 1 deletions
|
@ -5,8 +5,8 @@ if(DEFINED CI_JOB_INDEX AND DEFINED CI_JOB_COUNT)
|
||||||
list(LENGTH targets count)
|
list(LENGTH targets count)
|
||||||
message("-- ${count} total targets")
|
message("-- ${count} total targets")
|
||||||
math(EXPR per_job "(${count}+${CI_JOB_COUNT}-1)/${CI_JOB_COUNT}")
|
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}")
|
math(EXPR start "${CI_JOB_INDEX}*${per_job}")
|
||||||
|
message("-- ${per_job} targets per job, starting at ${start}")
|
||||||
if(${start} LESS ${count})
|
if(${start} LESS ${count})
|
||||||
list(SUBLIST targets ${start} ${per_job} ci_targets)
|
list(SUBLIST targets ${start} ${per_job} ci_targets)
|
||||||
message("-- will build targets: ${ci_targets}")
|
message("-- will build targets: ${ci_targets}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue