Commit Graph

166 Commits

Author SHA1 Message Date
Nikita Popov
8fc5daeb3f
Use sapi/cli/php to run tests for faster failure (#6931)
We always run test steps on azure, even if a previous step failed, because we
don't want a failure in one configuration to prevent testing of other
configurations. However, if building PHP fails in the first place, then we
currently end up testing the system PHP binary. This is not only useless, but
will also result in a test runner hang and cause the job to time out.

Avoid this by using sapi/cli/php instead of the installed php as the test
binary. If we fail to build, then it will not exist, and testing will fail
immediately.
2021-04-30 12:53:56 +02:00
Nikita Popov
bf7a244588 Merge branch 'PHP-8.0'
* PHP-8.0:
  Show used git commit in community tests
2021-04-29 11:05:04 +02:00
Nikita Popov
47bed58a53 Show used git commit in community tests
So we know exactly which revision was tested.
2021-04-29 11:03:48 +02:00
Nikita Popov
5d2f6c4d5d Update mysql version on libmysqclient job
Apparently these files don't stay available forever. Update to
a newer version.
2021-04-20 09:59:30 +02:00
Nikita Popov
a460bf41db
Fix i386 build on azure (#6877)
Explicitly specify --build=i686.
2021-04-17 20:35:01 +02:00
Nikita Popov
a1e914513e Test interned_strings_buffer=0 in CI
This is tested on the previous file_cache job as part of nightly
builds.
2021-04-09 17:11:56 +02:00
Nikita Popov
7279a66139 Install de_DE locale on azure 2021-03-19 11:34:42 +01:00
Gabriel Caruso
c3165467f5 Replaced deprecated hw.ncpu with hm. logicalcpu
Found that at ziglang/zig#1252.

Closes GH-5541
2021-03-03 18:33:50 +00:00
Darek Slusarczyk
da011a312a Fix #80329: Add option to specify LOAD DATA LOCAL white list folder
* allow the user to specify a folder where files that can be sent
   via LOAD DATA LOCAL can exist
 * add mysqli.local_infile_directory for mysqli
   (ignored if mysqli.allow_local_infile is enabled)
 * add PDO::MYSQL_ATTR_LOCAL_INFILE_DIRECTORY for pdo_mysql
   (ignored if PDO::MYSQL_ATTR_LOCAL_INFILE is enabled)
 * add related tests
 * fixes for building with libmysql 8.x
 * small improvement in existing tests
 * update php.ini-[development|production] files

Closes GH-6448.

Co-authored-by: Nikita Popov <nikic@php.net>
2021-02-23 09:30:46 +01:00
Nikita Popov
8be1cd6671 Merge branch 'PHP-8.0'
* PHP-8.0:
  Restore Laravel test workaround
2021-02-07 18:02:58 +01:00
Nikita Popov
e2c30c6a2e Restore Laravel test workaround
I accidentally dropped this during a merge, making the Laravel
job fail.
2021-02-07 18:02:19 +01:00
Nikita Popov
495a522b28 Merge branch 'PHP-8.0'
* PHP-8.0:
  Fix Laravel build on community job
2021-02-01 09:49:19 +01:00
Nikita Popov
9efd7ddd0a Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4:
  Fix Laravel build on community job
2021-02-01 09:49:13 +01:00
Nikita Popov
217b9e7b41 Fix Laravel build on community job
Now requires PHP 7.4, so use php7.4 to run composer everywhere.
2021-02-01 09:48:14 +01:00
Nikita Popov
869221cfb6 Build PDO OCI and OCI8 on azure
The extensions are build as shared to only check that they compile,
without running tests. The OCI8 extension does not properly SKIPIF
no database is available.

It should be noted that if we do want to also test these, then
(apart from running a database) it will also be necessary to configure
with LIBS="-Wl,--disable-new-dtags" in order to force the use of RPATH
instead of RUNPATH, the latter of which does not affect dlopened
libraries. Using LD_LIBRARY_PATH does not mesh well with our test
suite.

Closes GH-6604.
2021-01-15 12:12:13 +01:00
Adam Baratz
b569698095 Add MSSQL setup to Azure Pipelines build 2021-01-11 21:46:41 -05:00
Nikita Popov
694400616e Build PDO Firebird on Azure
Once again, this only builds the driver, all tests will be skipped.

Closes GH-6529.
2020-12-22 00:07:43 +01:00
Nikita Popov
0dfc4e7e41 Build PDO odbc on azure
We already install the necessary libs for the odbc extension, so
we may as well build PDO ODBC.

As we don't setup an ODBC server, the tests will be skipped.

Close GH-6528.
2020-12-21 18:37:45 +01:00
Nikita Popov
7a5cc7aa67 Add basic libmysqlclient CI job
This tests that mysqli and pdo_mysql build against libmysqlclient,
and that tests pass for pdo_mysql. mysqli has too many test failures.

This is not an officially supported configuration.
2020-12-18 12:52:54 +01:00
Nikita Popov
97338ba853 Merge branch 'PHP-8.0'
* PHP-8.0:
  Upload coverage data to codecov.io
2020-12-03 12:05:19 +01:00
Nikita Popov
724ee93ce6 Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4:
  Upload coverage data to codecov.io
2020-12-03 12:05:14 +01:00
Paul Crovella
8f8e6f95af Upload coverage data to codecov.io
Closes GH-6486.
2020-12-03 12:04:50 +01:00
Nikita Popov
bfa4f8188d Don't disable phpdbg on macos
I'm not sure what the original issue here was, but it seems to
be working fine now, so let's make sure it stays that way...
2020-12-02 11:04:08 +01:00
George Peter Banyard
5aaffc8095 Backport IMAP test modernization to PHP-8.0 branch
Closes GH-6476
2020-12-01 16:38:08 +00:00
Nikita Popov
1562d76a84 Merge branch 'PHP-8.0'
* PHP-8.0:
  Fix community job
2020-11-11 09:28:44 +01:00
Nikita Popov
1aff51d421 Fix community job
Made a mistake while merging...
2020-11-11 09:28:20 +01:00
Nikita Popov
5cf70dfa6b Merge branch 'PHP-8.0'
* PHP-8.0:
  Add integration test for symfony preloading
2020-11-10 11:46:07 +01:00
Nikita Popov
9f1dba8b71 Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4:
  Add integration test for symfony preloading
2020-11-10 11:45:59 +01:00
Nikita Popov
f419e049ff Add integration test for symfony preloading
To help catch regressions like the one that occurred in PHP 7.4.12.

Closes GH-6414.
2020-11-10 11:45:22 +01:00
George Peter Banyard
06ddda22fe Modernize IMAP tests
Use constants when appropriate, drop some ouputs which depends on env vars

Enable parallel testing.

Closes GH-6380
2020-11-03 09:50:42 +00:00
Nikita Popov
8aead9e2bc Re-enable laravel tests
Laravel is now sufficiently PHP 8 compatible.

Closes GH-6353.
2020-10-26 14:31:48 +01:00
Nikita Popov
8bc5e23f40 Disable Laravel testing
This has been failing for months now, let's make the scheduled
build status meaningful again.

[ci skip]
2020-10-19 10:44:46 +02:00
Nikita Popov
378bb63f66 Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4:
  Don't specify symfony branch
2020-10-10 11:08:47 +02:00
Nikita Popov
82e5752b0b Don't specify symfony branch
This was renamed from master to 5.x. Just use the default branch.
2020-10-10 11:07:49 +02:00
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