Commit Graph

182 Commits

Author SHA1 Message Date
George Peter Banyard
ef9359d30f Set-up IMAP in Azure
Closes GH-6162
2020-09-18 23:02:01 +02:00
Nikita Popov
ec08180738 Enable unixODBC in azure
This only checks that it builds though.

Closes GH-6150.
2020-09-17 12:52:31 +02:00
Nikita Popov
b89aee4f87 Add missing condition on azure community job 2020-09-11 09:51:44 +02:00
Nikita Popov
298d2db62e Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix azure i386 build, again
2020-09-10 09:58:04 +02:00
Nikita Popov
1d8ddf6c49 Fix azure i386 build, again 2020-09-10 09:57:54 +02:00
Nikita Popov
0222204e7f Test snmp on azure
Closes GH-6100.
2020-09-09 11:24:09 +02:00
Nikita Popov
9540e70982 Run the opcache-only configuration only for scheduled builds
The opcache-only configuration has very little signal (i.e. it is
very rare that it fails while non-opcache and opcache+jit both
pass). Switch it to run only for nightly builds, so we get faster
results on normal builds.
2020-09-08 16:29:01 +02:00
Nikita Popov
382cb2e779 Merge branch 'PHP-7.4'
* PHP-7.4:
  Revert "Update libzip on macos"
  Revert "Manually build re2c on macos"
2020-09-08 10:28:07 +02:00
Nikita Popov
5a201ddad0 Revert "Update libzip on macos"
This reverts commit 090bddb934.
2020-09-08 10:27:54 +02:00
Nikita Popov
3a5b22e3b5 Revert "Manually build re2c on macos"
This reverts commit 9bbe236f6a.
2020-09-08 10:27:53 +02:00
Nikita Popov
e0c94677b7 Add phpunit to community project tests 2020-09-07 10:15:05 +02:00
Nikita Popov
aa613f8b1a Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix azure i386 build
2020-09-05 22:10:12 +02:00
Nikita Popov
4ebc04ca9d Fix azure i386 build
Looks like pgsql on i386 broke even more.
2020-09-05 22:10:02 +02:00
Nikita Popov
c3ddda4e3c Merge branch 'PHP-7.4'
* PHP-7.4:
  Fixed bug #79724
2020-08-13 17:26:20 +02:00
Nikita Popov
8bda799d6f Fixed bug #79724 2020-08-13 17:25:51 +02:00
Nikita Popov
10cf18ce6e Merge branch 'PHP-7.4'
* PHP-7.4:
  Manually build re2c on macos
2020-08-04 10:26:27 +02:00
Nikita Popov
9bbe236f6a Manually build re2c on macos
Avoid issues with the licensing mafia, see:
https://github.com/Homebrew/homebrew-core/pull/59094

Closes GH-5932.
2020-08-04 10:26:02 +02:00
Nikita Popov
00743f3fae Bump timeouts, again
Now that we're testing an additional JIT configuration in nightly
builds, the jobs are running close to an hour.

[ci skip]
2020-08-02 10:11:33 +02:00
Nikita Popov
d3a9e1503f Update i386 job to Ubuntu 20.04 2020-07-31 12:52:40 +02:00
Nikita Popov
91a1747ef7 Also run function jit tests on macos 2020-07-31 12:51:58 +02:00
Nikita Popov
849c7415b5 Increase timeout on asan job
We now also run tests with function JIT here, which makes this
slower.

Probably, this job should be split up into asan and ubsan, and
possibly run with optimization.

[ci skip]
2020-07-30 09:59:08 +02:00
Nikita Popov
62cd52a41a Update azure macos builds to 10.15
Closes GH-5908.
2020-07-29 18:22:06 +02:00
Nikita Popov
34fe1b91f6 Run function JIT tests in nightly build
Changing this for primary x64 and i386 jobs for now.
The different test configurations are now consolidated in one
file shared between both.
2020-07-29 18:20:46 +02:00
Nikita Popov
213494f55d Move patch to right place
This was supposed to be for laravel, not symfony.

[ci skip]
2020-07-29 11:01:57 +02:00
Nikita Popov
9eb7990085 Try to fix laravel PHP 8 incompatibility
[ci skip]
2020-07-29 09:54:12 +02:00
Nikita Popov
6e09a3e203 Adjust Doctrine workaround in community job
[ci skip]
2020-07-21 11:28:41 +02:00
Nikita Popov
d097dfca72 Merge branch 'PHP-7.4'
* PHP-7.4:
  Revert "Drop freetype from i386"
2020-07-16 22:41:28 +02:00
Nikita Popov
bc6979b79e Revert "Drop freetype from i386"
This reverts commit 8641d76f62.

This appears to work again now...
2020-07-16 22:41:11 +02:00
Nikita Popov
a69d9f2039 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix azure i386 build
2020-07-16 21:16:30 +02:00
Nikita Popov
376968c7a7 Fix azure i386 build
Purge libsqlite3-0 to make sure we get the i386 library lateron.
2020-07-16 21:15:45 +02:00
Nikita Popov
000f609c26 Add another doctrine workaround
This has been fixed a few months ago, but apparently Doctrine
doesn't do releases.
2020-07-13 10:27:44 +02:00
Nikita Popov
bc68f10b76 Merge branch 'PHP-7.4'
* PHP-7.4:
  enable ext/ldap/tests on azure
  fix some ext/ldap/tests
2020-07-10 09:57:13 +02:00
Paweł Tomulik
b291c92693 enable ext/ldap/tests on azure 2020-07-10 09:56:02 +02:00
Nikita Popov
361aa1ea48 Enable dba on azure
Closes GH-5756.
2020-06-23 14:29:24 +02:00
Nikita Popov
334b9059fa Update azure pipelins to ubuntu 20.04
Only updating the main job for now, to see how it goes.

Closes GH-5741.
2020-06-23 12:16:52 +02:00
Nikita Popov
6b1e449ef4 Merge branch 'PHP-7.4' 2020-06-18 17:14:03 +02:00
Nikita Popov
090bddb934 Update libzip on macos
We need libzip 1.7.1, because libzip 1.7.0 is broken.

Closes GH-5737.
2020-06-18 17:12:23 +02:00
Nikita Popov
9b4601a65c Fix typo in file cache job 2020-06-15 10:13:04 +02:00
Nikita Popov
cb0fa99174 Merge branch 'PHP-7.4' 2020-06-12 15:41:39 +02:00
Nikita Popov
8641d76f62 Drop freetype from i386
For some reason this seems to pick up the amd64 library (though
we do install the i386 one).
2020-06-12 15:41:05 +02:00
Nikita Popov
e0d2070108 Use shared setup.yml on azure
Make sure things stay synchronized between different x64 jobs.
2020-06-12 15:41:00 +02:00
Nikita Popov
bda099a3c4 Merge branch 'PHP-7.4'
* PHP-7.4:
  Explicitly start postgres on azure
2020-06-10 14:10:18 +02:00
Nikita Popov
1905cf0656 Explicitly start postgres on azure
Seems to be necessary now...
2020-06-10 14:09:47 +02:00
Nikita Popov
f6db43fec8 Merge branch 'PHP-7.4'
* PHP-7.4:
  Disable mysqlnd compression on msan build
2020-06-08 10:36:01 +02:00
Nikita Popov
9b39ddbb85 Disable mysqlnd compression on msan build
This recently got enabled when detection was fixed. However,
we don't want this for msan builds, because our zlib is not
instrumented.
2020-06-08 10:35:05 +02:00
Christoph M. Becker
4fa3687e56 Unbundle ext/xmlrpc
According to <https://wiki.php.net/rfc/unbundle_xmlprc> we unbundle
ext/xmlrpc.
2020-05-29 16:47:44 +02:00
Nicolas Grekas
d579e1809a Run Symfony tests in per-component 2020-05-28 14:08:27 +02:00
Nicolas Grekas
ef9a790f12 Re-enable Symfony test on PHP 8 2020-05-28 14:08:25 +02:00
Nikita Popov
a307e48d67 Merge branch 'PHP-7.4'
* PHP-7.4:
  Show diffs for failed tests on Azure CI
2020-05-22 16:37:22 +02:00
Alex Dowad
6ad746488e Show diffs for failed tests on Azure CI
It's currently not possible to view the "Tests" tab on Azure if
you're not signed in, so also display diffs in the log.

Closes GH-5612.
2020-05-22 16:37:04 +02:00
Nikita Popov
e852944f63 Add --enable-memory-sanitizer flag
This flag enabled msan late in the pipeline, so that it does
not affect configure checks.

Otherwise we get a false positive report for openpty availability
without -lutil, which will then result in infinite recursion if
actually called.

This also sets origin tracking to 2, so bump the timeout to 90
minutes.
2020-05-20 16:46:28 +02:00
Nikita Popov
25aa125530 Add file cache job on azure 2020-05-20 15:33:20 +02:00
Nikita Popov
40b59cee8a Merge branch 'PHP-7.4'
* PHP-7.4:
  Update msan symbolizer path
2020-05-20 15:25:19 +02:00
Nikita Popov
405bea4750 Update msan symbolizer path
To account for the newer version of LLVM on Ubuntu 18.04.
2020-05-20 15:24:49 +02:00
Nikita Popov
7561f91796 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix i386 build on Azure
2020-05-04 14:35:33 +02:00
Nikita Popov
9c5d9b4925 Fix i386 build on Azure
Disabling postgresql entirely for now, because I can't figure out
how to fix it. Something broke big time with i386 packages on
Azure pipelines.
2020-05-04 14:35:16 +02:00
Nikita Popov
44c70b881b Disable Symfony test on PHP 8
Symfony is currently has an expected incompatibility with PHP 8:

Fatal error: Declaration of Symfony\Component\HttpClient\Response\MockResponse::schedule(Symfony\Component\HttpClient\Response\MockResponse $response, array &$runningResponses): void must be compatible with Symfony\Component\HttpClient\Response\ResponseTrait::schedule(Symfony\Component\HttpClient\Response\ResponseTrait $response, array &$runningResponses): void in /home/vsts/work/1/s/symfony/src/Symfony/Component/HttpClient/Response/MockResponse.php on line 135

Disable the job until this is fixed.
2020-03-30 10:58:33 +02:00
Nikita Popov
e957a8cd92 Merge branch 'PHP-7.4'
* PHP-7.4:
  Make bug52820.phpt more robust
  Explicitly start mysql
  Use "set -e" in some pipeline steps
2020-03-18 11:46:37 +01:00
Nikita Popov
bf382a3cb6 Explicitly start mysql 2020-03-18 11:46:27 +01:00
Nikita Popov
372331fc6d Use "set -e" in some pipeline steps 2020-03-18 11:46:27 +01:00
Nikita Popov
7309c23644 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix community job
2020-03-06 11:43:58 +01:00
Nikita Popov
979978cb61 Fix community job
Marco broke things again.
2020-03-06 11:43:35 +01:00
Nikita Popov
7fc29c9924 Merge branch 'PHP-7.4'
* PHP-7.4:
  Enable ext/sodium in CI
  Add skipif for argon2id in test
2020-02-24 12:41:49 +01:00
Nikita Popov
2d15845ae1 Enable ext/sodium in CI 2020-02-24 12:41:30 +01:00
Nikita Popov
d1d87dcd6f Merge branch 'PHP-7.4'
* PHP-7.4:
  Update Ubuntu version on Azure
2020-02-21 10:12:45 +01:00
Nikita Popov
2b50d905df Update Ubuntu version on Azure
The i386 and community jobs were still on 16.04, update them to
18.04.
2020-02-21 10:12:31 +01:00
Nikita Popov
5264acc4f1 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix Azure MacOS build
2020-02-13 16:18:25 +01:00
Nikita Popov
9c8cc480ba Fix Azure MacOS build 2020-02-13 16:18:07 +01:00
Nikita Popov
2bc0a2253a Enable -msse2 on m32 builder
This helps to catch stack alignment issues in JIT.
2020-02-07 13:13:26 +01:00
Nikita Popov
8853599514 Try to restore laravel & symfony community jobs
Patch Doctrine to fix the PDOConnection::query() signature.
2019-12-06 07:56:39 +01:00
Nikita Popov
dde2bcb556 Merge branch 'PHP-7.4'
* PHP-7.4:
  Explicitly specify ubuntu versions on azure pipelines
2019-11-02 10:13:07 +01:00
Nikita Popov
4c717abad2 Explicitly specify ubuntu versions on azure pipelines
Use the new 18.04 for the ones where the build succeeded and the
previous 16.04 where it didn't.
2019-11-02 10:12:58 +01:00
Nikita Popov
1faea28cdd Merge branch 'PHP-7.4'
* PHP-7.4:
  Add a run with opcache to the coverage job
2019-10-22 11:13:02 +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
Nikita Popov
242b5547a2 Merge branch 'PHP-7.4' 2019-10-11 17:44:59 +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
31ff9f3e29 Merge branch 'PHP-7.4' 2019-09-27 11:20:48 +02:00
Nikita Popov
a020d3bbea Enable ubsan stack trace printing on community job
Try to do this using "variables" -- apparently these get uppercased
and are made available as environment variables.
2019-09-27 11:16:22 +02:00
Nikita Popov
8a66cb35a3 Merge branch 'PHP-7.4' 2019-09-17 16:18:03 +02:00
Nikita Popov
66351025c8 Enable --with-mhash on CI 2019-09-17 16:16:31 +02:00
Nikita Popov
7992a712a9 Merge branch 'PHP-7.4' 2019-09-11 12:02:39 +02:00
Nicolas Grekas
aee31dd7e4 Improve Symfony test setup
Perform PHPUnit installation under php7.3 -- which will also make
it work on master.

Also properly resolve the tty issue by specifying excluded groups
during the test run.
2019-09-11 11:15:23 +02:00
Nikita Popov
06c257ec4b Enable JIT on community_job 2019-08-30 15:08:08 +02:00
Nikita Popov
1bbdb6a674 Disable symfony build on master 2019-08-30 10:46:42 +02:00
Nikita Popov
23b1638622 Merge branch 'PHP-7.4' 2019-08-30 10:07:52 +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
Nikita Popov
e04eb28375 Merge branch 'PHP-7.4' 2019-08-28 18:18:25 +02:00
Nikita Popov
43551405d5 Set opcache.protect_memory=1 on Azure 2019-08-28 18:17:11 +02:00
Nikita Popov
cab6b34224 Merge branch 'PHP-7.4' 2019-07-29 21:08:39 +02:00
Nikita Popov
76c2bef9b0 Don't explicitly install homebrew
It is already installed on azure, and this installation step is
very unreliable lately.
2019-07-29 21:08:29 +02:00
Peter Kokot
7b727607d4 Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove unused recode extension artefacts
2019-07-13 14:53:07 +02:00
Peter Kokot
f3cf8966be Remove unused recode extension artefacts
Closes GH-4395
2019-07-13 14:52:36 +02:00
Nikita Popov
8e948204f9 Disable jit on msan job
JIT code is not instrumented and as such incompatible with msan.
I'm not sure why this only started failing in the last build, it
shouldn't have worked before either...
2019-07-06 23:51:26 +02:00
Joe Watkins
4fb595d8b7
Merge branch 'PHP-7.4'
* PHP-7.4:
  Enable option checking on CI
2019-07-03 08:16:47 +02:00
Peter Kokot
a45192e183
Enable option checking on CI
This adds the Autoconf's --enable-option-checking=fatal option so
when non existing option from the PHP's configure options is used
a fatal error happens.
2019-07-03 08:16:31 +02:00
Joe Watkins
0baf81514a
Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove libtool and automake from azure installs
2019-07-03 08:14:19 +02:00
Peter Kokot
6f558c9508
Remove libtool and automake from azure installs
These two deps are not needed to build PHP.
2019-07-03 08:14:07 +02:00
Nikita Popov
9ab5c28c8b Merge branch 'PHP-7.4' 2019-07-01 17:28: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
b98c148f78 Merge branch 'PHP-7.4' 2019-06-28 15:05:00 +02:00