Commit Graph

182 Commits

Author SHA1 Message Date
Nikita Popov
a991fe51f8 Test file cache mix (file -> shm) 2021-08-18 14:24:46 +02:00
Nikita Popov
ba8e5d336b Merge branch 'PHP-8.0'
* PHP-8.0:
  Test file_cache prime shm + use file combination
  Fix repeated file cache unserialization of zval string
2021-08-18 12:39:47 +02:00
Nikita Popov
3454ea36a4 Test file_cache prime shm + use file combination
We're currently only testing prime shm + use shm and prime file +
use file.

This adds testing for the prime shm + use file combination. The
prime file + use shm combination is broken on PHP-8.0, so not
tested.
2021-08-18 12:38:36 +02:00
Nikita Popov
467504c952 Update libmysqlclient job to MySQL 5.7.35
The tarball for 5.7.31 is no longer available.
2021-08-03 10:25:24 +02:00
Nikita Popov
d6368f7232 Test --preload in CI
Part of the opcache variation job.
2021-07-30 17:27:00 +02:00
Joe Watkins
6ce9836b38
Merge branch 'PHP-8.0'
* PHP-8.0:
  retry ldap setup a few times in CI
2021-07-21 18:06:38 +02:00
Joe Watkins
0ba6ddefd5
retry ldap setup a few times in CI 2021-07-21 18:06:13 +02:00
Nikita Popov
1a43094e6f Merge branch 'PHP-8.0'
* PHP-8.0:
  Use newer PHP version in community job
2021-07-09 10:32:30 +02:00
Nikita Popov
8cec7db48d Use newer PHP version in community job
For the composer commands. Laravel no longer supports PHP 7.4.
2021-07-09 10:32:12 +02:00
Nikita Popov
64525b6c1a Run phpunit job even if previous failed
This condition was present on the others, but missed for phpunit.
2021-06-28 10:22:38 +02:00
Nikita Popov
072c50fc77 Merge branch 'PHP-8.0'
* PHP-8.0:
  Update msan job to Ubuntu 20.04
  Skip some tests under msan
2021-05-07 16:28:57 +02:00
Nikita Popov
f547bddcc0 Update msan job to Ubuntu 20.04
Also don't explicitly specify symbolizer path. This doesn't appear
to be necessary anymore, and avoids a dependence on the specific
LLVM version used.
2021-05-07 16:28:01 +02:00
Nikita Popov
7b7a192d76 Merge branch 'PHP-8.0'
* PHP-8.0:
  Remove custom curl build on community job
2021-05-07 12:40:43 +02:00
Nikita Popov
9bf1224d07 Remove custom curl build on community job
This should no longer be necessary now that we're on Ubuntu 20.04.
2021-05-07 12:40:28 +02:00
Nikita Popov
b9cfd288e5 Merge branch 'PHP-8.0'
* PHP-8.0:
  Update community, coverage and file cache jobs to Ubuntu 20.04
2021-05-07 11:31:36 +02:00
Nikita Popov
674b884c7a Update community, coverage and file cache jobs to Ubuntu 20.04
This fixes the issue with apt, and seems like a good idea in
general. The msan job is now the only one on 18.04, but that one
needs more work.
2021-05-07 11:29:34 +02:00
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