Commit Graph

475 Commits

Author SHA1 Message Date
Shivam Mathur
2c9c274411
Fix dependency support in self-hosted macOS 2021-10-15 22:32:24 +05:30
Shivam Mathur
1c85db7f9e
Add patch for Debian 12 and the distributions based on it 2021-10-15 18:34:06 +05:30
Shivam Mathur
d259dd49a2
Improve package checks for extensions 2021-10-15 17:53:09 +05:30
Shivam Mathur
ea20ae1fbd
Fix minor bug in checking lists on Linux 2021-10-15 15:58:06 +05:30
Shivam Mathur
383c74bb06
Improve adding CA certificates on Windows 2021-10-14 22:08:11 +05:30
Shivam Mathur
b4593b7df0
Revert "Add patch to update ca-certificates on windows-2016"
This reverts commit d7c3e33a96.
2021-10-14 21:00:58 +05:30
Shivam Mathur
9b92c9db92
Revert "Add patch to update brew core repo"
This reverts commit dab978c436.
2021-10-14 20:59:16 +05:30
Shivam Mathur
a357b6a054
Revert "Fetch CA certificate from Curl on all Windows versions"
This reverts commit a7f90656b3.
2021-10-14 20:58:09 +05:30
Shivam Mathur
0bc2f7ce96
Revert "Fix macOS patch to allow link libraries"
This reverts commit e2e76ea34f.
2021-10-14 20:57:18 +05:30
Shivam Mathur
e2e76ea34f
Fix macOS patch to allow link libraries 2021-10-13 15:25:38 +05:30
Shivam Mathur
a7f90656b3
Fetch CA certificate from Curl on all Windows versions 2021-10-10 05:43:54 +05:30
Shivam Mathur
fca0924fa9
Use custom support for phalcon 2021-10-09 06:26:16 +05:30
Shivam Mathur
dab978c436
Add patch to update brew core repo 2021-10-06 18:12:11 +05:30
Shivam Mathur
d7c3e33a96
Add patch to update ca-certificates on windows-2016 2021-10-04 19:41:33 +05:30
Shivam Mathur
295b5da700
Add config to resolve extensions from shivammathur/extensions 2021-09-23 18:55:16 +05:30
Shivam Mathur
87993cd853
Add lowercase alias for phpDocumentor on unix 2021-09-20 06:23:13 +05:30
Shivam Mathur
7b145b5fae
Add fileinfo extension with phpdoc
Add aliases for phpdoc
2021-09-20 05:46:02 +05:30
Shivam Mathur
cb5db3f888
Fix enabling cached extensions with custom support 2021-09-20 01:55:38 +05:30
Shivam Mathur
52d2b3b70b
Fix Blackfire extensions logs when cached 2021-09-19 21:42:29 +05:30
Shivam Mathur
256b466cc4
Make all extension variables local 2021-09-19 15:33:45 +05:30
Shivam Mathur
57f4a60e24
Fix enabling firebird when cached 2021-09-19 10:05:07 +05:30
Shivam Mathur
2e289f30e2
Fix Ioncube logs if cached 2021-09-19 10:05:06 +05:30
Shivam Mathur
bc0d607611
Fix cache support for phalcon4 2021-09-19 10:04:57 +05:30
Shivam Mathur
1fa3ba1b16
Fix php_extra_version on macOS 2021-09-19 03:58:05 +05:30
Shivam Mathur
d8d1da5d6d
Fix version for PECL extensions in logs 2021-09-19 03:17:13 +05:30
Shivam Mathur
094bc8ae17
Fix parsing php-src tag 2021-09-19 02:54:02 +05:30
Shivam Mathur
48aac87d46
Fix setup for cached OCI extensions 2021-09-19 02:41:04 +05:30
Shivam Mathur
31971c78cd
Fix parsing extra version 2021-09-19 02:38:31 +05:30
Shivam Mathur
c644f654ce
Add check for package files when adding PPA 2021-09-15 00:25:36 +05:30
Shivam Mathur
8eebeae48a
Use commit hash in url for nightly builds in darwin.sh 2021-09-05 12:32:28 +05:30
Shivam Mathur
da9dadf09c
Fix parsing 8.1 version 2021-09-02 19:24:08 +05:30
Shivam Mathur
e06e40278f
Specify version in Windows nightly setup 2021-09-02 00:35:19 +05:30
Shivam Mathur
b2d037d560
Add support to remove all shared extensions 2021-08-28 12:17:23 +05:30
Shivam Mathur
4beeea41b4
Fix logs of disabled dependent extensions
Use shared_extension function on unix
2021-08-28 12:17:22 +05:30
Shivam Mathur
bb36513e49
Add support to disable dependent extensions 2021-08-28 12:17:20 +05:30
Shivam Mathur
5402397d9f
Do not delete extensions, just disable them 2021-08-28 12:17:19 +05:30
Shivam Mathur
f6b4601c63
Run New-Item with -Force as items can pre-exist on self-hosted environments
Pipe output to $null as that is removed for verbose and not Out-Null, and is also faster
2021-08-28 12:17:18 +05:30
Shivam Mathur
2cb9b82943
Fix extension logs 2021-08-24 19:29:33 +05:30
Shivam Mathur
ca319bd10e
Use AdditionalFilesPath parameter in Install-PhpExtension
AdditionalFilesPath allows to specify a directory inside extension directory (which can be cached) for installing dependencies which are in the same archive as the extension

Fix dependency directory name to correctly use VCVersion in win32.ps1

Fix exception in phalcon4 setup on Windows.
2021-08-23 14:31:00 +05:30
Shivam Mathur
c8b716540c
Stop doing shallow clones on macOS self-hosted 2021-08-18 09:53:35 +05:30
Shivam Mathur
1cecc2cc99
Use systemctl only if systemd is present else use the service wrapper 2021-08-18 09:53:33 +05:30
Shivam Mathur
c37021df01
Set HOMEBREW_DEVELOPER=1 in macOS 2021-08-18 09:53:31 +05:30
Shivam Mathur
c6e99860cd
Improve adding PPAs on Linux 2021-08-18 09:53:30 +05:30
Shivam Mathur
05b4ac2afb
Use --no-install-recommends with APT on Linux 2021-08-18 09:53:29 +05:30
Shivam Mathur
91bd11146c
Add support for self-hosted debian runner 2021-08-18 09:53:28 +05:30
Shivam Mathur
8ace7bdc6e
Switch to /etc/os-release on Linux
Improve self-hosted support
2021-08-18 09:53:27 +05:30
Jérôme Vieilledent
c2e811ce23
Use systemctl instead of services to install blackfire 2021-08-17 13:06:19 +05:30
Shivam Mathur
dbf50bf9e0
Upgrade blackfire to v2 2021-08-17 13:06:05 +05:30
Shivam Mathur
947009a717
Sunset support for Ubuntu 16.04 2021-08-02 23:10:43 +05:30
Shivam Mathur
36cb9fb0fc
Fix composer permissions on unix 2021-07-21 19:00:00 +05:30
Shivam Mathur
0b33ef444f
Revert "Add patch for PCRE2"
This reverts commit fefbd7a497.
2021-07-16 15:55:40 +05:30
Shivam Mathur
c61b9256d1
Improve grpc_php_plugin support 2021-07-14 14:17:37 +05:30
Shivam Mathur
09e08a3554
More fixes in fetching tool versions 2021-07-14 14:17:32 +05:30
Shivam Mathur
f31bef6a30
Set firebird client version to 3.0.7 on macOS 2021-07-12 10:45:57 +05:30
Shivam Mathur
5afed16e5f
Fix support for imagick for PHP 5.3 to 5.5 on macOS 2021-07-10 00:50:50 +05:30
Shivam Mathur
6449431df2
Move tools config to tools.json
Refactor tools functions to use Records and object literals
2021-07-07 22:40:02 +05:30
Shivam Mathur
fefbd7a497
Add patch for PCRE2 2021-07-07 22:33:14 +05:30
Shivam Mathur
e02a1810e6
Fix protoc support 2021-06-04 21:34:32 +05:30
Shivam Mathur
bb0acc6313
Fix extension setup 2021-06-04 21:34:23 +05:30
Shivam Mathur
17fd1a694b
Refactor patch_brew in darwin.sh 2021-05-27 22:00:47 +05:30
Shivam Mathur
454ef11759
Fix comments in darwin.sh 2021-05-27 21:05:36 +05:30
Shivam Mathur
e3396c6572
Force overwrite updated dependencies on macOS 2021-05-27 21:05:25 +05:30
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