1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-12 19:10:27 +03:00

Add more debugging info

This commit is contained in:
Marcelo Bezerra 2025-01-10 19:05:15 +01:00
parent ae637e1689
commit 20ea6c1b1c
No known key found for this signature in database
GPG key ID: 718A5AC065848530

View file

@ -5,8 +5,8 @@ if(DEFINED CI_JOB_INDEX AND DEFINED CI_JOB_COUNT)
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}")
message("-- ${per_job} targets per job, starting at ${start}")
if(${start} LESS ${count})
list(SUBLIST targets ${start} ${per_job} ci_targets)
message("-- will build targets: ${ci_targets}")