Shivam Mathur
cb614c45fa
Update default PHP packages' list on self-hosted Linux
2022-01-09 13:44:49 +05:30
Shivam Mathur
e6e79e1717
Refactor PHP packages to a config
2022-01-09 13:44:49 +05:30
Shivam Mathur
45a631dbaf
Fix update_lists in ppa.sh
2022-01-09 13:44:48 +05:30
Shivam Mathur
1fd26e45c8
Refactor INI directives to configs
2022-01-09 13:44:40 +05:30
Shivam Mathur
de4fdb85b9
Rename common.sh to unix.sh
2022-01-05 15:20:40 +05:30
Shivam Mathur
2fd8046c9d
Refactor extension functions to add_extensions scripts
2022-01-05 15:20:40 +05:30
Shivam Mathur
d189609ea9
Refactor tools functions to add_tools scripts
2022-01-05 15:20:39 +05:30
Shivam Mathur
3681a25ab6
Fix to not break existing tools if they fail to setup
2022-01-05 15:20:39 +05:30
Shivam Mathur
092944b039
Fix Install-PSPackage fallback
2022-01-05 15:20:38 +05:30
Shivam Mathur
9e30788903
Fail fast on composer setup failure
2022-01-05 15:20:38 +05:30
Shivam Mathur
d78b8a6d49
Set COMPOSER_NO_INTERACTION=1
...
Use composer.env file for configuring composer
Add a note about composer configuration to the README
2022-01-05 15:20:37 +05:30
Shivam Mathur
da0e854737
Fix phalcon setup on Ubuntu
2022-01-05 15:18:04 +05:30
Shivam Mathur
f24f33ea89
Scope binary tools installed using composer
2021-12-31 00:11:33 +05:30
Shivam Mathur
7789b4e03e
Switch to phar releases for phpspec
2021-12-29 20:17:24 +05:30
Shivam Mathur
65341e4a6d
Fix parsing composer version when snapshot is stable
2021-12-22 22:34:35 +05:30
Shivam Mathur
0f13e29d1f
Use composer phars from cache with PHP version
2021-12-22 20:07:07 +05:30
Shivam Mathur
5cd765a20d
Add support for blackfire extension on PHP 8.1
2021-12-20 19:50:31 +05:30
Shivam Mathur
deb31af403
Fix http support on 8.1
...
Fallback to source/pecl if http extension package is missing
2021-12-20 19:35:45 +05:30
Shivam Mathur
a6b35b119b
Fix oci8 setup on Windows
2021-12-20 18:29:46 +05:30
Shivam Mathur
dab0e73adf
Refactor addPhive in tools.ts
2021-12-13 08:11:59 +05:30
Shivam Mathur
15b20027cf
Use GitHub releases for phive's latest version
2021-12-13 07:47:57 +05:30
Shivam Mathur
1b4cc0b6fa
Revert to GitHub Releases as primary script source
2021-12-08 20:34:44 +05:30
Shivam Mathur
bbba8d75a6
Change primary script sources
2021-12-08 19:28:08 +05:30
Shivam Mathur
a274bd910a
Fix to handle wrong pecl versions with hyphen
2021-12-08 04:56:29 +05:30
Shivam Mathur
be75d5e01d
Add patch to add PHP 8.1 extensions from snaps on Windows
2021-12-06 10:42:28 +05:30
Shivam Mathur
cf36ddc55e
Set nightly versions to 8.2 and newer
2021-12-06 10:13:24 +05:30
Shivam Mathur
b33066473d
Log error when wrong Xdebug version is requested
2021-11-26 00:07:28 +05:30
Shivam Mathur
92b4784fb6
Suppress error in Get-Php run before PHP setup in win32.ps1
2021-11-25 23:24:48 +05:30
Shivam Mathur
345999bf0b
Add support for mailparse on macOS using shivammathur/extensions tap
2021-11-25 20:29:41 +05:30
Shivam Mathur
4c5c122aa6
PHP 8.1 is now stable and marked as default version
2021-11-25 17:34:13 +05:30
Shivam Mathur
220d0c24c7
Fix reading build commit on Windows
2021-11-24 18:01:01 +05:30
Shivam Mathur
2f5c2edb22
Fix upgrading nightly versions
2021-11-18 19:40:47 +05:30
Shivam Mathur
721e4c3367
Add dev package for PHP by default on self-hosted
2021-11-18 16:51:20 +05:30
Shivam Mathur
2f2a90e464
Add workaround to ensure PHPUnit installed by setup-php is used along with PHPUnit-Polyfills
2021-11-16 08:23:46 +05:30
Shivam Mathur
81a06ff6ed
Fix shellcheck warning in add_tools.sh
2021-11-16 08:14:06 +05:30
Shivam Mathur
874e5099b0
Stop using Install-PhpExtensionPrerequisite for imagick
2021-11-11 19:22:29 +05:30
Shivam Mathur
beaceb0089
Fix to only copy problem-matchers configs to RUNNER_TOOL_CACHE
2021-11-10 05:45:18 +05:30
Shivam Mathur
03509eca9b
Fix error while opening blackfire configuration file on Linux
2021-10-19 00:16:05 +05:30
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
719018955c
Add support for xlswriter on macOS using shivammathur/extensions tap
2021-10-12 20:56:58 +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
jrfnl
2c8682d5e6
Tools: add support for phpunit-polyfills
...
Ref: https://github.com/Yoast/PHPUnit-Polyfills
2021-09-20 16:04:04 +02:00
Shivam Mathur
87993cd853
Add lowercase alias for phpDocumentor on unix
2021-09-20 06:23:13 +05:30
Shivam Mathur
e0dd9c9560
Merge pull request #501 from jrfnl/feature/fix-typo
...
Fix apparent typo
2021-09-20 06:19:02 +05:30
jrfnl
608ad1a0cf
Tools: fix typo
...
While the PHPCPD and PHPUnit tools use the [same function under the hood](1fa3ba1b16/src/tools.ts (L461-L473)
), I have the impression that the `function` keyword should be the tool name.
If that's correct, this should fix it.
2021-09-20 02:22:42 +02:00
jrfnl
257e4c088d
Tools: add support for parallel-lint
2021-09-20 02:22:22 +02:00
Shivam Mathur
7b145b5fae
Add fileinfo extension with phpdoc
...
Add aliases for phpdoc
2021-09-20 05:46:02 +05:30
Shivam Mathur
253459691c
Merge pull request #498 from jrfnl/feature/tools-add-phpdocumentor
...
Tools: add support for phpDocumentor
2021-09-20 04:52:15 +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
jrfnl
fa5fbefff9
Tools: add support for phpDocumentor
2021-09-19 13:41:39 +02:00
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
13760f5b16
Add support for expect and ssh2 using shivammathur/extensions tap on macOS
2021-09-16 18:41:02 +05:30
Shivam Mathur
c644f654ce
Add check for package files when adding PPA
2021-09-15 00:25:36 +05:30
Shivam Mathur
a34eeedd37
Bump version to 2.14.0
...
Add config to generate types
Fix build error in install.ts after TypeScript upgrade
Minor refactor in install.test.ts
Add bugs, directories, files and types entries in package.json
Update Node.js dependencies
Update SECURITY.md
2021-09-11 05:25:45 +05:30
Shivam Mathur
d068c17d9e
Add support for nightly alias
2021-09-06 11:58:31 +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
e990e98a54
Use shivammathur/extensions tap to install vips on macOS
2021-09-01 15:53:05 +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
8e80635955
Fix parsing extensions input if Zend OPcache
is specified instead of opcache
2021-08-28 12:17:21 +05:30
Shivam Mathur
c8837583fc
Do not check dependents for PCOV and Xdebug
2021-08-28 12:17:21 +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
4d3cfaa653
Fixed support for php-cs-fixer
...
Added fetch_latest to tools.json. When fetch_latest is true for a tool
it will fetch the release.atom for the tool and parse that to get the
latest release.
Bumped lib version to ES2020 in tsconfig.json for string.matchAll.
2021-08-20 09:14:39 +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
5137c78ee5
Use shivammathur/extensions tap for yaml extension on macOS
2021-08-18 09:53:32 +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
Shivam Mathur
4bb4f1812c
Fix to make utils.readEnv more resilient to user input
2021-08-18 09:53:26 +05:30
Shivam Mathur
7bd9f10bef
Add no_tools_cache flag
2021-08-18 09:53:25 +05:30
Shivam Mathur
0b38e86c65
Use shivammathur/extensions tap on macOS for mongodb on PHP 5.6 to 8.1
2021-08-18 09:53:24 +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
jrfnl
f31d416e6e
Update Phive configuration
...
Phive has released version `0.15.0` which ups the minimum supported PHP version to PHP 7.3.
This adds the switch statement for Phive to take this into account.
Ref: https://github.com/phar-io/phive/releases
2021-08-01 19:52:48 +02:00
Shivam Mathur
36cb9fb0fc
Fix composer permissions on unix
2021-07-21 19:00:00 +05:30
Shivam Mathur
c88f07696b
Add support for phpunit-bridge
2021-07-17 08:42:11 +05:30
Shivam Mathur
0b33ef444f
Revert "Add patch for PCRE2"
...
This reverts commit fefbd7a497
.
2021-07-16 15:55:40 +05:30
Shivam Mathur
3b2ce6cae6
Update Ubuntu 16.04 warning in install.ts
2021-07-14 14:17:38 +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
1a216636c5
Use composer for composer-require-checker
2021-07-12 10:45:56 +05:30
Shivam Mathur
7eec3d790d
Fix repeated version_prefix
2021-07-10 02:10:33 +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
14fa980966
Improve error handling in utils.fetch and its uses
...
Minor fixes in tests
Revert to ES2019
2021-07-09 11:26:38 +05:30
Shivam Mathur
39491a0fba
Add authorization header to GitHub API call when COMPOSER_TOKEN is set
2021-07-07 22:40:05 +05:30
Shivam Mathur
e1a9afe11c
Add support to specify major or major.minor versions for tools with GitHub repository
2021-07-07 22:40:03 +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
60ff774608
Fix replacing v prefix in tool version
2021-07-07 22:40:01 +05:30
Shivam Mathur
dd591f1661
Use shivammathur/extensions tap for rdkafka on macOS
2021-07-07 22:39:59 +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
55ab748aaa
Update dependencies
...
Update to Jest 27
Set sourceMap to true in tsconfig.json
2021-06-04 21:34:31 +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
4067ce8b81
Deprecate Ubuntu 16.04
2021-05-04 23:43:26 +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
15c43e89cd
Fix mysql regex for windows in extensions.ts
2021-04-27 15:17:29 +05:30
Shivam Mathur
6ebd1e5184
Fix versions of composer tools
2021-04-26 06:55:12 +05:30
Shivam Mathur
9ad81048ce
Use shivammathur/extensions for memcache and memcached on darwin
2021-04-21 22:37:23 +05:30
Shivam Mathur
8cfcbb030f
Add support for tools: none
2021-04-21 17:11:24 +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
23393c46d7
Add support for composer packages using tools input
2021-04-19 17:05:59 +05:30
Shivam Mathur
3c6827c2c3
Use shivammathur/extensions for phalcon and psr
2021-04-19 17:05:53 +05:30