1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00
Commit Graph

196 Commits

Author SHA1 Message Date
Ilija Tovilo fa6953d307 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Add test coverage job
2022-06-24 15:11:33 +02:00
Ilija Tovilo b7f0950ffe Add test coverage job 2022-06-24 00:19:35 +02:00
Nikita Popov 49549ea585 Update libmysqlclient to 5.7.38
The old archive is no longer available.
2022-05-13 22:49:01 +02:00
Arnaud Le Blanc f07a08df5c Fix unregistering ini entries of dynamically loaded extension (#8435)
Fixes GH-8185
2022-05-06 15:25:44 +02:00
Ilija Tovilo 490c4234e0 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Add nightly for GitHub actions
2022-04-09 17:13:01 +02:00
Ilija Tovilo 5de1cd9e48 Add nightly for GitHub actions 2022-04-09 17:08:18 +02:00
Nikita Popov f55f234fb0 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Disable enchant on azure i386
2021-11-26 11:04:40 +01:00
Nikita Popov 5f67b9fb43 Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4:
  Disable enchant on azure i386
2021-11-26 11:04:29 +01:00
Nikita Popov c2d6d837ca Disable enchant on azure i386
The i386 libenchant library no longer installs without conflicts,
so drop i386 testing for this extension.
2021-11-26 11:03:32 +01:00
Nikita Popov d49f550f6d Update libmysqlclient job to MySQL 8.0.27
MySQL 8.0.24 is no longer available for download.

[ci skip]
2021-11-01 09:06:10 +01:00
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 51147e2f18 Backport Laravel test hack
The way to work around this changed, backport the version from
master.
2021-08-18 09:55:24 +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 bb43aa2ed3 Test Laravel 8.x against PHP 7.4
Laravel master no longer supports PHP 7.4, so use an older branch.
2021-07-09 09:21:07 +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 8deadfa31b Fix azure build
This is only needed on ubuntu-18.04, it works fine on ubuntu-20.04.
2021-05-07 10:26:04 +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
Nikita Popov fc4cd598a2 Update ubuntu on i386 job
There is a failure with apt on PHP-7.4 that's not present on
PHP-8.0/master. Switching to a newer ubuntu version on PHP-7.4
avoids the issue.
2021-03-15 14:11:19 +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