Commit Graph

413 Commits

Author SHA1 Message Date
Shivam Mathur
3beda962f3
Fix dependencies on pre-installed PHP on macOS 2021-05-15 18:27:18 +05:30
Shivam Mathur
1f97ce0215
Use VCVersion and Architecture for extension dependency directory name on Windows 2021-05-12 22:54:47 +05:30
Shivam Mathur
00f360b99d
Symlink extension dependencies on Windows instead of adding to PATH
This is done because other actions seem to mess with PATH breaking the installed extension
2021-05-12 22:54:41 +05:30
Shivam Mathur
9882bed066
Install extension dependencies in ext_dir on Windows 2021-05-11 07:24:22 +05:30
Shivam Mathur
e8855efe7c
Fix self-hosted setup on linux 2021-05-05 22:16:03 +05:30
Shivam Mathur
d5790807c8
Fix to not use system PHP on macOS
Refactor add_php in darwin.sh
2021-05-04 23:15:13 +05:30
Shivam Mathur
d0e7f46ec4
Add ppa:ondrej/php for all Ubuntu versions actions/virtual-environments#3272 2021-05-01 11:27:58 +05:30
Shivam Mathur
ef477a1dd7
Use mirror for ppa:ondrej/php on Ubuntu 16.04
Remove support for Ubuntu 16.04 self-hosted runners
2021-05-01 11:07:24 +05:30
Shivam Mathur
9149639a33
Fix linking when oracle's infra randomly resolves to different versions of client and sdk 2021-04-29 01:19:45 +05:30
Shivam Mathur
6ebd1e5184
Fix versions of composer tools 2021-04-26 06:55:12 +05:30
Shivam Mathur
254ecd5a66
Fix phalcon3 on windows 2021-04-21 07:34:30 +05:30
Shivam Mathur
0461bf14b2
Fix blackfire extension version to 1.50.0 for PHP 5.3 to 5.6 2021-04-21 07:25:57 +05:30
Shivam Mathur
7e5351f399
Do not lowercase source extension input
Fix warnings in parseExtensionSource in utils.ts

Fix add_lib_log in source.sh
2021-04-21 04:38:37 +05:30
Shivam Mathur
fe944a16b5
Use EXTENSION_PATH to specify subdirectory in add_extension_from_source 2021-04-20 17:20:36 +05:30
Shivam Mathur
a47644812e
Add fallback to Install-PSPackage in win32.ps1 2021-04-19 17:06:00 +05:30
Shivam Mathur
3c6827c2c3
Use shivammathur/extensions for phalcon and psr 2021-04-19 17:05:53 +05:30
Shivam Mathur
ada1ce86b7
Refactor and improve extension support
Add support for APCu on macOS from shivammathur/homebrew-extensions
Improve support for geos to compile on PHP 8.0 and 8.1
Fix pecl setup to avoid unnecessary callbacks
Use GitHub releases for all couchbase versions
Use add_extension_from_source for all custom supported extensions
Remove bintray and use shivammathur/intl-icu releases
Add patch for protobuf for installing from source
Move patches from custom extension scripts to patches directory
Add support to build extension from GitHub and pecl tar archives (Internal API)
Refactor regex in extension.ts
Move add_pecl_extension to common.sh
Refactor remove_extension in darwin.sh
Fix shellcheck warning in darwin.sh
Improve switch_version in linux.sh to accept parameters
2021-04-15 16:54:35 +05:30
Shivam Mathur
7c13389546
Revert "Fix pcov on PHP 8.0 on Windows"
This reverts commit a83d4379b1.
2021-04-15 16:54:34 +05:30
Shivam Mathur
7627a79c01
Fix sub-directory support for extension setup from source 2021-04-15 16:54:33 +05:30
Shivam Mathur
39faaac1d3
Improve source extension setup logs
Refactor source extension setup code to src/scripts/ext/source.sh
2021-04-15 16:54:32 +05:30
Shivam Mathur
b3152daa8d
Add support for any git repository to compile extension from source
Add support for extensions in a subdirectory to compile from source
2021-04-15 16:54:32 +05:30
Shivam Mathur
6db6ddbab2
Fix version log for nightly PHP on ubuntu 2021-04-15 16:54:31 +05:30
Shivam Mathur
c870bc9a3a
Fail-fast if input repository does not have a PHP extension 2021-04-15 16:54:30 +05:30
Shivam Mathur
f5f14c3aa3
Improve logs for building extensions from source 2021-04-15 16:54:29 +05:30
Shivam Mathur
e831babc61
Add support for specifying configure opts when building extensions from source 2021-04-15 16:54:28 +05:30
Shivam Mathur
c7736a605a
Add support for adding libraries when building extensions from source 2021-04-15 16:54:28 +05:30
Shivam Mathur
a9a6d1986e
Fix add_extension_log 2021-04-15 16:54:27 +05:30
Shivam Mathur
cc316409b0
Use GitHub releases for libcouchbase 2 on linux 2021-04-15 16:54:26 +05:30
Shivam Mathur
a8dafdc2b5
Fix cubrid setup on Ubuntu 16.04 2021-04-15 16:54:25 +05:30
Shivam Mathur
f8646352c6
Fix gearman setup 2021-04-15 16:54:24 +05:30
Shivam Mathur
3cbec713b8
Add parameters to ppa/lists functions in linux.sh 2021-04-15 16:54:23 +05:30
Shivam Mathur
4186db28f7
Use cached packages for PHP updates on GHR 2021-04-15 16:54:22 +05:30
Shivam Mathur
18f02c9c99
Revert to ppa:ondrej/ppa for phalcon3 2021-04-15 16:54:22 +05:30
Shivam Mathur
e9a7adef28
Revert "Fix macOS setup"
This reverts commit 0c4c4d5441.
2021-04-15 16:48:29 +05:30
Shivam Mathur
bceb2ef3d8
Remove bintray 2021-04-13 19:08:47 +05:30
Shivam Mathur
86e7315da6
Replace bintray with jsdelivr for scripts 2021-04-13 19:08:46 +05:30
Shivam Mathur
0741f2b23a
Fix icu-intl setup 2021-04-13 19:08:45 +05:30
Shivam Mathur
0c4c4d5441
Fix macOS setup 2021-04-13 19:08:40 +05:30
Shivam Mathur
abfbe6a46b
Remove dotdeb support 2021-04-03 15:51:47 +05:30
Shivam Mathur
e6a3eb1258
Fix composer setup on self-hosted 2021-03-17 22:04:42 +05:30
Shivam Mathur
0ce7328fd7
Add PHP commit hash in logs on nightly on Ubuntu 2021-03-13 19:09:09 +05:30
Shivam Mathur
6e76d3f012
Fix linking old_libraries in macOS 2021-03-08 19:13:00 +05:30
Shivam Mathur
ac40fdb561
Install with force in macOS 2021-03-08 18:33:43 +05:30
Shivam Mathur
890ea4bca9
Fix enable extension 2021-03-07 04:18:26 +05:30
Shivam Mathur
df4388ca60
Link libs of updated PHP dependencies on macOS 2021-02-28 19:20:28 +05:30
Shivam Mathur
fa18c2b29f
Remove bintray from manifest and win32.ps1
Fix JIT ini values in win32.ps1
2021-02-23 14:34:03 +05:30
Shivam Mathur
399ab79d14
Improve support for couchbase, pdo_firdbird, pdo_oci and phalcon3
Downgrade husky to 4.x
2021-02-23 13:07:17 +05:30
Shivam Mathur
121cb19a65
Fix composer tools setup 2021-02-20 17:54:40 +05:30
Shivam Mathur
739ccacdc4
Refactor tools
Improve support for tool aliases
2021-02-20 16:11:20 +05:30
Shivam Mathur
3340d60d91
Improve support for pecl_http on linux and macOS 2021-02-19 13:49:56 +05:30
Shivam Mathur
57c17e3349
Add support for pecl_http on Windows for PHP 7.1 to 8.0 2021-02-19 13:49:55 +05:30
Shivam Mathur
356e1a5128
Add support for pecl_http, propro, raphf, xdebug2 and zmq using shivammathur/extensions tap 2021-02-19 13:49:54 +05:30
Shivam Mathur
406f3c410a
Revert "Update brew for all PHP versions until updated on images"
This reverts commit 2ea6ca5b36.
2021-02-19 13:49:52 +05:30
Andreas Braun
fd62612e9e
Allow building specific commits 2021-02-19 13:49:42 +05:30
Andreas Braun
26791e8412
Address code review feedback 2021-02-19 13:49:41 +05:30
Andreas Braun
f42065d568
Allow extensions to be compiled from GitHub sources 2021-02-19 13:49:40 +05:30
Shivam Mathur
86e1ccdd8d
Fix pdo setup 2021-02-19 13:30:02 +05:30
Shivam Mathur
36ec0200a6
Fix cache support for cubrid and pdo_cubrid 2021-02-19 07:18:39 +05:30
Shivam Mathur
abefdb50ee
Fix composer config syntax 2021-02-04 11:00:27 +05:30
Shivam Mathur
2ea6ca5b36
Update brew for all PHP versions until updated on images 2021-02-04 11:00:20 +05:30
Shivam Mathur
a83d4379b1
Fix pcov on PHP 8.0 on Windows 2021-01-19 20:36:17 +05:30
Shivam Mathur
d2f58713aa
Use GITHUB_ENV to append to PATH 2021-01-07 21:53:45 +05:30
Shivam Mathur
1e119b6d1a
Fix add_pdo_extension in linux.sh 2021-01-07 00:13:05 +05:30
Shivam Mathur
77721f6637
Make sure tool path is always in PATH 2020-12-26 01:25:36 +05:30
Shivam Mathur
d731e56579
Add support for macOS ARM 2020-12-26 01:25:30 +05:30
Shivam Mathur
e5b90e33c6
Add support for coverage: xdebug2 2020-12-24 18:20:42 +05:30
Shivam Mathur
d891a81b7f
Fix add_brew_tap in darwin.sh
Fix shellcheck in darwin.sh
2020-12-24 03:34:39 +05:30
Shivam Mathur
b7d1d9c9a9
Adjust $nightly_versions on linux 2020-12-18 22:45:12 +05:30
Shivam Mathur
c5e4d55c3b
Add devtools on self-hosted workflows 2020-12-18 22:40:16 +05:30
Shivam Mathur
d74064b67a
Fix setting xdebug.mode 2020-12-17 21:08:00 +05:30
Shivam Mathur
7b44f7e007
Fix couchbase on PHP 7.2 2020-12-17 16:29:01 +05:30
Shivam Mathur
ff5499165a
Set JIT related ini values on PHP 8 2020-12-17 14:02:00 +05:30
Shivam Mathur
b3cd6b4dab
Improve pecl support 2020-12-17 12:54:01 +05:30
Shivam Mathur
ce02569aea
Exit on failing to setup PHP 2020-12-17 04:43:16 +05:30
Shivam Mathur
77aeac1761
Fix logging in add_pdo_extension in linux.sh 2020-12-14 22:33:39 +05:30
Shivam Mathur
569522d50d
Fetch homebrew taps manually 2020-12-14 19:34:32 +05:30
Shivam Mathur
fd9aae59b0
Add support for geos on unix 2020-12-14 14:53:19 +05:30
Shivam Mathur
5efdcae81a
Use brew for grpc_php_plugin on macOS 2020-12-02 10:09:22 +05:30
Shivam Mathur
f0fb8731a5
Update ini files for all available SAPI 2020-12-02 05:50:56 +05:30
Shivam Mathur
8dbd6b7684
Improve PECL support 2020-11-28 02:13:43 +05:30
Shivam Mathur
790a41a722
Fix getting grpc latest tag 2020-11-28 02:13:41 +05:30
Shivam Mathur
62c7ba2bee
Improve darwin.sh 2020-11-28 02:13:36 +05:30
Shivam Mathur
41797e3af9
Prioritize bintray over GitHub releases for scripts 2020-11-25 11:12:07 +05:30
Shivam Mathur
c6150c6a2b
Fix fail-fast in Windows 2020-11-25 05:39:44 +05:30
Shivam Mathur
19b09596c6
Fix fetching extension version from PECL on macOS 2020-11-25 05:32:15 +05:30
Shivam Mathur
4ec398d39a
Fix deleting extensions 2020-11-25 05:23:27 +05:30
Shivam Mathur
09222f42ae
Skip prestissimo and composer-prefetcher unless composer:v1 is specified 2020-11-21 11:11:33 +05:30
Shivam Mathur
403191b6b6
Sync dependencies from tap in add_brew_extension 2020-11-21 10:54:39 +05:30
Shivam Mathur
248394635c
Fix grpc_php_plugin setup 2020-11-20 08:39:39 +05:30
Shivam Mathur
a094f682be
Add support for couchbase 2020-11-20 08:39:39 +05:30
Shivam Mathur
45213ad923
Fix extension setup on self-hosted linux 2020-11-20 08:39:38 +05:30
Shivam Mathur
5453c1f4f0
Revert "Switch to apt-get"
This reverts commit 1394617d60.
2020-11-20 08:39:36 +05:30
Shivam Mathur
787c534f64
Improve web requests 2020-11-20 08:39:35 +05:30
Shivam Mathur
d812e938ac
Refactor to dry unix scripts 2020-11-20 08:39:34 +05:30
Shivam Mathur
7de94e6400
Fetch release with tool when latest one does not 2020-11-20 08:39:29 +05:30
Shivam Mathur
02445f719d
Improve regexes for pre-release extensions 2020-10-31 21:20:49 +05:30
Shivam Mathur
294f03454a
Install VcRedist from GitHub 2020-10-30 11:40:24 +05:30
Shivam Mathur
5d27b8f90e
Use PECL directly for nightly versions 2020-10-28 22:21:08 +05:30
Shivam Mathur
2c29e8b9a1
Fix version change if composer is a dependency 2020-10-24 23:40:43 +05:30
Shivam Mathur
04a9e3b562
Update dependencies as per runner on macOS 2020-10-23 07:22:04 +05:30
Shivam Mathur
4244b92ac6
Fix matchers setup when action is called twice 2020-10-18 19:41:58 +05:30
Shivam Mathur
e9595da9ac
Remove patch for RLIMIT_CORE bug in sudo, fixed upstream 2020-10-18 19:41:57 +05:30
Shivam Mathur
b77ec78d01
Add support for fail-fast env variable 2020-10-18 19:41:56 +05:30
Shivam Mathur
9205a596c9
Add support for PHP 8.1 on Windows 2020-10-18 19:41:53 +05:30
Shivam Mathur
6fc20c9b7f
Add support for PHP 8.1 on Ubuntu 2020-10-18 19:41:52 +05:30
Michele Locati
eb07280d5c
Perform only one URL call to download latest PhpManager.zip asset 2020-10-18 19:41:51 +05:30
Shivam Mathur
eaaab1cec3
Fix oci8 and pdo_oci 2020-10-18 19:33:03 +05:30
Shivam Mathur
1394617d60
Switch to apt-get 2020-10-15 14:16:50 +05:30
Shivam Mathur
f687ff8f21
Fix dependency mess in phalcon4 setup on ubuntu 2020-10-15 14:16:46 +05:30
Shivam Mathur
537c66b2ea
Minor fixes in scripts 2020-10-15 14:16:22 +05:30
Shivam Mathur
9e663851ce
Move matchers setup to scripts 2020-10-15 14:16:19 +05:30
Shivam Mathur
716331904e
Switch to environment files. Apply GHSA-mfwh-5m23-j46w (CVE-2020-15228) 2020-10-15 14:16:16 +05:30
Shivam Mathur
c4606c9269
Log versions in tools setup 2020-10-15 14:16:15 +05:30
Shivam Mathur
db36b200b1
Fix regex in protoc.sh 2020-10-15 14:16:06 +05:30
Shivam Mathur
7cfd76cc1b
Move $arch_name to tools/blackfire.ps1 2020-10-15 14:16:05 +05:30
Shivam Mathur
682b1f5e44
Make sure printf is in PATH in Windows 2020-10-15 14:16:04 +05:30
Shivam Mathur
7b56e4491e
Improving removing extensions for Ubuntu SH runners 2020-09-07 09:36:56 +05:30
Shivam Mathur
acc1fdb337
Add support to configure icu version 2020-09-07 09:36:51 +05:30
Shivam Mathur
e3286d1234
Fix cleanup_lists in linux.sh for old PHP 2020-09-06 19:29:39 +05:30
Michele Locati
56273e234f
Download release assets for PowerShell PhpManager
Downloading such assets is preferable since:
- they contain updated metadata (useful for debugging)
- they contain only the production files
- they are pre-built: GitHub doesn't have to create a ZIP from a tag
2020-09-06 19:29:37 +05:30
Michele Locati
48a00b4d3f
Use releases instead of tags to download PowerShell PhpManager
I just started to publish PhpManager to GitHub Releases too
2020-09-06 19:29:36 +05:30
Shivam Mathur
ffded4a3e8
Fix support for pecl pdo extensions on Ubuntu 2020-08-21 23:58:53 +05:30
Shivam Mathur
49088ede98
Fix composer fallback 2020-08-18 09:58:23 +05:30
Shivam Mathur
9bd0fdbc18
Remove old PHPUnit on linux 2020-08-18 09:58:22 +05:30
Shivam Mathur
c5d29cf8e3
Fix removing extensions on Ubuntu SH runners. (#271) 2020-08-12 17:10:23 +05:30
Shivam Mathur
d84365cd03
Add support for oci extensions in PHP 8 on Windows
Fix cache support for oci8 on Windows
2020-08-10 14:08:28 +05:30
Shivam Mathur
3c52e818b1
Add support for cubrid and pdo_cubrid on Ubuntu 2020-08-10 14:08:27 +05:30
Shivam Mathur
188598ef9d
Dry custom tools and extension code 2020-08-10 14:08:27 +05:30
Shivam Mathur
f8b8d766d5
Fix permissions in protoc setup 2020-08-10 14:08:26 +05:30
Shivam Mathur
15a6402865
Change cURL opts 2020-08-10 14:08:20 +05:30
Shivam Mathur
91bd6b26c2
Use cached composer builds 2020-08-04 21:15:25 +05:30
Shivam Mathur
5405f14867
Move blackfire setup to separate scripts 2020-08-03 11:47:11 +05:30
Shivam Mathur
cb25b9c13a
Add support for protoc and grpc_php_plugin 2020-08-03 11:47:10 +05:30
Shivam Mathur
e63d25d41f
Use blackfire API to get versions 2020-08-03 11:47:09 +05:30
Shivam Mathur
2a7ae24c8e
Dry extension code 2020-08-03 11:47:00 +05:30
Shivam Mathur
67152eb712
Accept PECL default parameters 2020-08-02 19:09:47 +05:30
Shivam Mathur
5e240ab99f
Use shivammathur/php-builder-windows for PHP 8 on Windows (#261) 2020-08-02 19:09:45 +05:30
Shivam Mathur
3aa0f17b55
Remove obsolete pcov.sh 2020-08-02 19:09:43 +05:30
Shivam Mathur
8b218279a3
Improve cURL use 2020-08-02 19:09:29 +05:30
Shivam Mathur
90b6355bf0
Fix updating lists in phalcon setup on Ubuntu 2020-07-24 10:31:35 +05:30
Shivam Mathur
84f23853b7
Use default packagist mirror for old PHP 2020-07-24 10:31:35 +05:30
Shivam Mathur
a4001afbd6
Remove update_extension from linux.sh 2020-07-24 10:31:34 +05:30
Shivam Mathur
cfbb105cb6
Use cached packages to install PHP 2020-07-24 10:31:28 +05:30
Shivam Mathur
c549015370
Fix warning in cleanup_lists on first run on ubuntu-20.04 2020-07-21 18:27:07 +05:30
Shivam Mathur
25d9bbc737
Update README and licensing information 2020-07-21 06:29:25 +05:30
Shivam Mathur
82837572d4
Add ionCube Loader support 2020-07-19 13:53:35 +05:30
Shivam Mathur
8efcf46b31
Add support for oci8 and pdo_oci 2020-07-19 13:53:28 +05:30
Shivam Mathur
4391cf8a4c
Fix warning in add_pdo_extension 2020-07-19 13:53:26 +05:30
Shivam Mathur
a965723128
Set memory_limit=-1 on Windows and macOS 2020-07-18 06:01:48 +05:30
Shivam Mathur
9845a63f5c
Merge pull request #249 from lolautruche/fix-blackfire
Remove sudo for Blackfire config when it's not needed
2020-07-16 02:28:34 +05:30