Commit Graph

18 Commits

Author SHA1 Message Date
Nikita Popov
9a2e5cfccb Backport schedule in yaml
I'm not sure it's needed, but let's try it: Add the scheduled
builds on PHP-7.4 and PHP-8.0 as well, rather than just master.
2020-10-12 10:05:37 +02:00
Nikita Popov
571f6a598f Don't enable --with-mm in CI
Turns out this has a large negative effect on startup time,
making tests much slower.
2020-08-25 20:25:07 +02:00
Nikita Popov
8bda799d6f Fixed bug #79724 2020-08-13 17:25:51 +02:00
Fabien Villepinte
6422c95633 Add a run with opcache to the coverage job
Some tests are not run when OPcache is not available.
This should make the results more accurate.
2019-10-22 11:12:39 +02:00
Gerard Roche
db54b0fa18 Azure: Publish code coverage results
* Add an Azure Publish Code Coverage Results task
* Add `make gcovr-html` to generate a gcovr test coverage report in HTML
* Add `make gcovr-xml` to generate a gcovr test coverage report in XML
* Remove `test` target dependency from `make lcov-html`;
  Run the two targets together instead: `make test lcov-html`.

Re: https://github.com/php/php-src/pull/4739#issuecomment-534911441

See: https://externals.io/message/107113,
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-code-coverage-results?view=azure-devops,
and https://github.com/php/php-src/pull/4759.
2019-10-11 17:44:36 +02:00
Nikita Popov
b7c353c8d0 Specify -fsanitize-no-recover
To make it more obvious when there are ubsan failures.
2019-09-11 11:59:33 +02:00
Nikita Popov
a12ebc295c Add job for community projects
Run some open-source projects through an aggressive debug
configuration with asan and ubsan. We don't care about test results,
only check that we don't assert or crash.

Currently testing laravel, symfony and amp.
2019-08-30 10:07:18 +02:00
Jan Altensen
f8788eb7f3 azure: exclude some documentation paths
Closes GH-4352.
2019-07-02 16:22:01 +02:00
Nikita Popov
0dfca74be2 Setup msan on azure
This uses a separate job template, because msan requires all used
libraries (apart from glibc) to be instrumented, so we can't link
any external libraries unless we recompile them. As such, we need
a much more minimal configure.
2019-07-01 17:27:42 +02:00
Nikita Popov
54dd762f59 Set up asan+ubsan scheduled build on azure
Also adds an --asan flag to run-tests.php to setup all the necessary
environment variables. Some tests are marked as skipped because they
are incompatible with asan or too slow.

I'm basing this on the DEBUG_ZTS build, which seems to give us the
most mileage.
2019-06-28 15:00:54 +02:00
Nikita Popov
ce2b36bc48 Condition some azure jobs on schedule trigger 2019-06-13 14:20:47 +02:00
Joe Watkins
3ff489d8e8
Merge branch 'i386-azure' into PHP-7.4
* i386-azure:
  i386 build
2019-06-11 10:24:51 +02:00
Joe Watkins
c2a78c7cac
i386 build 2019-06-11 10:23:37 +02:00
Jan Altensen
0741494f30
azure macos
Change-Id: I3465dcc865c254cea02feb619f6706fa0d164757
2019-06-09 22:21:46 +02:00
Nikita Popov
c72bc4475e Use batch mode on Azure 2019-06-07 09:53:35 +02:00
Joe Watkins
b4c1369768
correct zts flags for 7.4 2019-06-04 05:04:24 +02:00
Joe Watkins
068dd5afa8
get the name of the branch right 2019-06-03 22:47:12 +02:00
Joe Watkins
74ce812007
Set up CI with Azure Pipelines 2019-06-03 22:27:50 +02:00