[php-src] Issue #8066: Azure pipelines CI stopped working
| From: | iluuu1994 | Date: | Thu, 10 Feb 2022 21:51:23 +0000 |
| Subject: | [php-src] Issue #8066: Azure pipelines CI stopped working | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239614@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8066
Comment Author: iluuu1994
I started working on migrating to GitHub actions yesterday. So far it seems to work well.
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
The result is a ~2000 file.
If there's a better way to do this, please let me know.