[php-src] Issue #8066: Azure pipelines CI stopped working
| From: | nikic | Date: | Thu, 10 Feb 2022 22:02:10 +0000 |
| Subject: | [php-src] Issue #8066: Azure pipelines CI stopped working | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239615@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8066
Comment Author: nikic
> I started working on migrating to GitHub actions yesterday. So far it seems to work well.
> [iluuu1994#2](https://github.com/iluuu1994/php-src/pull/2)
>
> The main problem I've experienced is that our nightly build tests a variety of platforms,
> configurations and branches in all combinations. That's 20 jobs for 4 maintained branches, so
> 80 in total.
> https://github.com/php/php-src/blob/master/azure-pipelines.yml#L30-L122
> That sounds like _a lot_.
>
> GitHub only runs schedules on the default branch and it doesn't look like jobs can created
> in a loop, like per branch in our example. So I created a script to generate the nightly
> configuration instead.
> https://github.com/iluuu1994/php-src/pull/2/files#diff-349b1103b0646547c52451e80b4b20b700214b3f02364b9c8c666ef284ad64bb§¥3n¸±B¼
> |mTudïT The result is a ~2000 file (which is incomplete, multiple jobs are still missing per
> branch).
On Azure Pipelines our nightly builds only ran for a branch if there were new commits. In
particular, this means that the PHP-7.4 branch gets built only very rarely. Do you think there is
some way to replicate that?