Commit Graph

63 Commits

Author SHA1 Message Date
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
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
6a2a449cd5 Merge branch 'PHP-7.4' 2019-06-17 11:52:49 +02:00
Nikita Popov
36d94f73bb Enable intl on macos 2019-06-17 11:52:26 +02:00
Nikita Popov
2d5b3b8043 Report test failures on macos
This was enabled on 7.4 but for some reason disabled on master.
2019-06-17 11:48:46 +02:00
Joe Watkins
e8c6910e5e
PHP-8.0 should run JIT tests, always [ci skip] 2019-06-15 10:08:48 +02:00
Joe Watkins
91f0ef04af
PHP-7.4 branch should not run JIT tests, ever [ci skip] 2019-06-15 10:07:01 +02:00
Joe Watkins
cb0921b34f
enable JIT only in master for macosx 2019-06-14 12:59:05 +02:00
Joe Watkins
956db0cdc2
Merge branch 'PHP-7.4'
* PHP-7.4:
  fix mac tests on azure
2019-06-14 12:58:13 +02:00
Joe Watkins
dd10bf5450
Merge branch 'mac-tests' into PHP-7.4
* mac-tests:
  fix mac tests on azure
2019-06-14 12:56:08 +02:00
Joe Watkins
f16b012116
fix mac tests on azure 2019-06-14 12:55:00 +02:00
Nikita Popov
646b64b119 Fix skipif syntax errors
Apparently I did this only on masster...
2019-06-14 09:29:14 +02:00
Joe Watkins
8b6b4870e7
disable phpdbg on i386 builds [ci skip] 2019-06-14 08:30:20 +02:00
Nikita Popov
da56e77357 Enable -Werror on macos builds 2019-06-12 16:14:23 +02:00
Nikita Popov
7b8299893e Fix ext/exif/tests/bug76557.phpt for 32-bit builds
The error message is different there.
2019-06-12 15:40:18 +02:00
Joe Watkins
a7f8a2b731
we are not running database tests on macos, there is no need to install mysql or start pg 2019-06-12 15:09:28 +02:00
Nikita Popov
4d65d53805 Enable -Werror on m32 build
This one is clean now.
2019-06-12 13:17:25 +02:00
Joe Watkins
8ab3e7bc0c
disable phpdbg on macosx, it's not well tested there and is skewing results [ci skip] 2019-06-12 06:58:53 +02:00
Hugh McMaster
bdcef51bcb
ext/standard: Use PKG_CHECK_MODULES to detect the Argon2 library 2019-06-12 06:54:54 +02:00
Nikita Popov
e5aba0f518 Build with ldap and ldap sasl on azure
We don't set up an ldap server, so this is mainly about testing
that the build works.
2019-06-11 15:48:40 +02:00