We currently only test the master branch on a regular schedule and not the different release branches (like e.g. scarthgap).
Also testing these other branches is complicated by the following detail in the GitHub action documentation:
Scheduled workflows will only run on the default branch
This means we need some sort of workaround to run scheduled jobs on different branches. This commit adds a scheduled job on the master branch to trigger jobs on other branches via the workflow_dispatch event.
TODO before merging:
[ ] Update the scarthgap build job to match the master build job (run on self-hosted runner and allow workflow_dispatch)¹.
[ ] Update the kirkstone build job to match the master build job (run on self-hosted runner and allow workflow_dispatch)¹.
[ ] Set the SCHEDULE_BUILDS variable to a true-ish value.
¹ The git clone commands for poky and other meta-layers need to be adapted.
We currently only test the master branch on a regular schedule and not the different release branches (like e.g. scarthgap).
Also testing these other branches is complicated by the following detail in the GitHub action documentation:
This means we need some sort of workaround to run scheduled jobs on different branches. This commit adds a scheduled job on the master branch to trigger jobs on other branches via the
workflow_dispatch
event.TODO before merging:
workflow_dispatch
)¹.workflow_dispatch
)¹.SCHEDULE_BUILDS
variable to a true-ish value.¹ The
git clone
commands for poky and other meta-layers need to be adapted.