Commit Graph

790 Commits

Author SHA1 Message Date
Louis-Marie Michelin
45410ae8f0 fix: make symfony-cli installation faster on linux 2022-09-01 18:20:00 +02:00
Shivam Mathur
6353d20df2
Set COMPOSER_NO_AUDIT environment variable by default 2022-08-22 09:46:12 +05:30
Shivam Mathur
52685a348b
Add support to install rector in tools input 2022-08-17 16:48:27 +05:30
Shivam Mathur
44d81f9830
Fix symfony support 2022-08-17 14:41:01 +05:30
Shivam Mathur
401bdecb71
Add support for ast from shivammathur/extensions on macOS 2022-08-10 13:19:47 +05:30
Shivam Mathur
aa82ffc68f
Fix logs in add_pecl_extension 2022-07-29 02:57:11 +05:30
Shivam Mathur
7e03c76ef2
Fix extension setup using PECL on Linux and macOS 2022-07-29 02:39:20 +05:30
Shivam Mathur
66f24470dc
Fix reading composer package type for older versions 2022-07-20 19:41:49 +05:30
Shivam Mathur
e57ea715eb
Fix scoped tool setup on Windows 2022-07-20 19:41:07 +05:30
Shivam Mathur
0d3f92f127
Add support for phalcon5 on Windows 2022-07-19 14:26:08 +05:30
Shivam Mathur
4979d5b484
Add workaround for missing phalcon packages on Ubuntu 22.04 2022-07-16 02:40:47 +05:30
Shivam Mathur
0d9a1ba5ae
Add support for phalcon5 on Linux and macOS
Fix get_pecl_version
2022-07-16 00:46:28 +05:30
Ruben Robles
0f688a10cb
Add support for tool Laravel Pint 2022-07-11 12:13:41 +02:00
Shivam Mathur
ce49f82dd8
Do not add composer plugins to allow list for composer v1 2022-07-08 04:55:44 +05:30
Shivam Mathur
cf5cd90b4c
Improve support for composer authenticating private respositories 2022-07-06 12:19:55 +05:30
Shivam Mathur
261f13a7c5
Add composer plugins to allow list before installing 2022-07-06 00:43:25 +05:30
Shivam Mathur
9eaa66d89b
Add support for event extension on unix 2022-07-05 16:22:07 +05:30
Shivam Mathur
da9dfe4a71
Set RUNNER_TOOL_CACHE on self-hosted environments 2022-07-05 12:03:30 +05:30
Shivam Mathur
a863ab6d3d
Add support to allow composer plugins 2022-07-05 06:25:04 +05:30
Shivam Mathur
050cb8061b
Add coverage driver version in logs 2022-06-30 17:36:40 +05:30
Dino Infantino
1a2cb4f872 Fix Add-Path for self-hosted Windows 2022-06-23 10:51:33 +01:00
Shivam Mathur
74d43be8a3
Fix support for deployer 2022-05-31 10:12:38 +05:30
Shivam Mathur
0533892eb4
Fix jsdoc in fetch.ts 2022-05-30 07:52:30 +05:30
Shivam Mathur
b88a8c89d1
Fix protoc support 2022-05-26 10:21:36 +05:30
Shivam Mathur
ee065c5938
Append custom ini files to php.ini files 2022-05-25 20:43:46 +05:30
Shivam Mathur
dbc8ba0844
Fix enabling cached dependent extensions on lower PHP versions 2022-05-25 19:44:02 +05:30
Shivam Mathur
fe9e23a16a
Add unixodbc if missing in sqlsrv setup 2022-05-25 10:16:23 +05:30
Shivam Mathur
16de39288a
Fix couchbase cache on macOS 2022-05-24 18:59:36 +05:30
Shivam Mathur
67ff09364d
Fix support for couchbase 4.x 2022-05-24 15:45:18 +05:30
Shivam Mathur
1dfe0dc4a4
Add support to specify couchbase version 2022-05-19 23:56:27 +05:30
Shivam Mathur
6f83b63bf5
Fix couchbase setup
Fix couchbase version to 3.x till 4.x is stable

The couchbase 4.x is based on a C++ client library and it shipped with the extension. So we only add the C client library for earlier versions
2022-05-19 15:09:52 +05:30
Shivam Mathur
f0db57dcab
Fix pecl support on PHP 5.3
Remove pecl suffix option support from PHP 5.3 as Console_Getopt version used does not support it
2022-05-19 11:56:00 +05:30
Shivam Mathur
209324abab
Prefix extension formula with tap name on macOS 2022-05-05 23:43:11 +05:30
Shivam Mathur
846135c190
Create empty composer.json in scoped directory
When installing composer based tools in a scoped directory with old composer versions it breaks if a composer.json is not present in the scoped directory
2022-05-02 11:22:58 +05:30
Shivam Mathur
32d20248ae
Improve support for composer fallback URLs 2022-04-23 11:57:06 +05:30
Shivam Mathur
657e0936e8
Patch brew on every run 2022-04-09 21:47:24 +05:30
Shivam Mathur
36d70683e9
Fix patching brew 2022-04-09 19:14:52 +05:30
Shivam Mathur
5210dd20ed
Add support for mcrypt using shivammathur/extensions tap on macOS 2022-04-06 17:37:32 +05:30
Shivam Mathur
9e33c7b24e
Fix protoc setup 2022-03-26 00:10:00 +05:30
Shivam Mathur
412722b7c7
Install libraries on each PECL install if specified 2022-03-22 21:37:20 +05:30
Shivam Mathur
dfd2c8da97
Add http dependencies when version is specified 2022-03-22 18:50:03 +05:30
Shivam Mathur
27eef9a04c
#StandWithUkraine 2022-03-22 17:36:00 +05:30
Shivam Mathur
4e4b26a024
Suppress output while generating extension map 2022-03-16 05:10:11 +05:30
Shivam Mathur
228bfba836
Fix copying extensions from cellar to extension directory on macOS 2022-03-16 05:10:10 +05:30
Shivam Mathur
34c35ecdad
Add support for blackfire extension on PHP 8.1 on Windows 2022-03-16 05:10:10 +05:30
Shivam Mathur
1828f05f7a
Add support for http extension on PHP 8.1 on Windows 2022-03-16 05:10:09 +05:30
Shivam Mathur
927419e77f
Fix enabling http 2022-03-16 05:09:53 +05:30
Shivam Mathur
e29242d481
Add support to specify configure options to pecl extensions 2022-03-15 22:09:38 +05:30
Shivam Mathur
035c0a8550
Use local variables in log functions 2022-03-10 04:53:12 +05:30
Shivam Mathur
e9884d0d9a
Add support for installing libraries for pecl extensions 2022-03-10 04:50:16 +05:30
Shivam Mathur
02131e37d9
Fix linking pecl ini file on self-hosted environments 2022-03-10 04:36:22 +05:30
Shivam Mathur
341d29a88f
Run switch_version for all packaged PHP 2022-03-10 04:36:21 +05:30
Shivam Mathur
5e3bc57de0
Fix to install php-dev on self-hosted env if missing 2022-03-10 04:36:21 +05:30
Shivam Mathur
a826799c7c
Fix switching versions in Linux 2022-03-10 04:36:21 +05:30
Shivam Mathur
62bd8f3ca4
Improve enabling extensions 2022-03-10 04:36:15 +05:30
Shivam Mathur
94c859a50e
Add GitHub releases fallback URL for phing 2022-03-01 20:44:20 +05:30
Shivam Mathur
293da043d1
Fix logs for symfony-cli on failure 2022-02-24 23:01:58 +05:30
Shivam Mathur
808396c4e6
Fix Add-EnvPATH on self-hosted Windows 2022-02-22 04:43:32 +05:30
Shivam Mathur
7205f47330
Update version of sqlsrv and pdo_sqlsrv extensions 2022-02-22 00:51:53 +05:30
Shivam Mathur
7ad352e12a
Add OpenSSL config on Windows 2022-02-13 03:20:39 +05:30
Shivam Mathur
5bf95cd61f
Fix Add-Env in win32.ps1 2022-02-13 03:15:38 +05:30
Shivam Mathur
18f3abac75
Fix UUOC shellcheck warning 2022-02-09 03:40:58 +05:30
Shivam Mathur
7854a0cae7
Fix adding composer_bin to PATH 2022-02-09 03:27:03 +05:30
Shivam Mathur
a72a638da4
Fix check in add_path
Add composer_bin to the PATH after a tool is added using composer
2022-02-09 00:53:56 +05:30
Shivam Mathur
948917a97b
Fix to correctly use fallback URL for tools on Windows 2022-02-08 03:52:45 +05:30
Shivam Mathur
d9cb143213
Add 22.04-jammy and 13-trixie to os_releases.csv config file [skip ci] 2022-02-08 03:20:08 +05:30
Shivam Mathur
0cfde7beae
Fix adding Import-Module command to the profile in Install-PSPackage 2022-02-08 01:02:16 +05:30
Shivam Mathur
ce2a129c36
Fix output when sudo is installed 2022-02-08 00:51:20 +05:30
Shivam Mathur
78532b17de
Fail when runner it set to github on self-hosted environments 2022-02-08 00:49:31 +05:30
Shivam Mathur
8b26e8d15a
Add pear/pecl by default to self-hosted Linux environments 2022-02-07 23:56:12 +05:30
Shivam Mathur
4dc94c27cf
Refactor utils.fetch to a module and mock it with nock
Add redirect support in utils.fetch
2022-02-06 10:53:40 +05:30
Shivam Mathur
6f6e534936
Improve tools support when extensions are disabled/missing 2022-02-06 03:37:57 +05:30
Shivam Mathur
99a4a141f4
Add --ignore-platform-req=ext-* while installing composer packages with composer v2 2022-02-06 03:37:56 +05:30
Shivam Mathur
c1285cc7f3
Fix variable scope 2022-02-06 03:37:56 +05:30
Shivam Mathur
57662657e0
Enable extensions required for installing composer packages 2022-02-06 03:37:55 +05:30
Shivam Mathur
8d4007321f
Change variable name in ppa.sh 2022-02-06 03:37:54 +05:30
Shivam Mathur
8eb9866044
Fix getting scan dir on macOS for old PHP 2022-02-06 03:37:54 +05:30
Shivam Mathur
e554590514
Fix http extension setup 2022-02-06 03:37:25 +05:30
Shivam Mathur
5959fab498
Fix setting stability in Add-Extension on Windows 2022-02-02 14:38:28 +05:30
Shivam Mathur
408b70728f
Improve support for sqlsrv and pdo_sqlsrv 2022-02-02 14:38:28 +05:30
Shivam Mathur
9d74a11420
Fix output on non GitHub Action environments 2022-02-02 14:38:23 +05:30
Shivam Mathur
5acd006232
Fix second run in the same job
Refactor install.ts and its tests
2022-01-30 08:45:11 +05:30
Shivam Mathur
0022878947
Remove unnecessary dist parameter 2022-01-29 12:14:42 +05:30
Shivam Mathur
71d07ee7f4
Update symfony-cli support to use new symfony-cli/symfony-cli 2022-01-29 11:27:44 +05:30
Shivam Mathur
cad2a1bda3
Rename os_version => os 2022-01-29 05:29:58 +05:30
Shivam Mathur
c2c73b16c1
Append to script instead read then write 2022-01-29 04:45:17 +05:30
Shivam Mathur
63c7766312
Remove unnecessary writing of scripts to RUNNER_TOOL_CACHE 2022-01-29 04:40:49 +05:30
Shivam Mathur
495989aff1
Merge pull request #561 from villfa/feat/churn
Tools: add support for Churn-PHP
2022-01-29 03:49:42 +05:30
Fabien Villepinte
c09e310dc1
Tools: add support for Churn-PHP 2022-01-28 23:07:30 +01:00
Shivam Mathur
1db2ec93f3
Fix tools.getLatestVersion 2022-01-27 08:44:53 +05:30
Shivam Mathur
da21b560da
Refactor PHP nightly setup in Windows 2022-01-27 08:09:35 +05:30
Shivam Mathur
c1efd614e8
Use Get-Module instead of Get-InstalledModule 2022-01-27 07:05:46 +05:30
Shivam Mathur
dcf2f7f74f
Fetch SSL libs for old PHP in Windows in parallel 2022-01-27 06:36:42 +05:30
Shivam Mathur
8109be4850
Add support for PHP build cache from shivammathur/php-builder-windows 2022-01-26 16:41:29 +05:30
Shivam Mathur
a0a791cada
Add ini_file input to set base php.ini 2022-01-25 13:43:49 +05:30
Shivam Mathur
147905fd60
Fix composer_bin not found error 2022-01-25 12:32:59 +05:30
Shivam Mathur
c38f1acc38
Fix potential exponential backtracking in regex in utils.parseExtensionSource 2022-01-22 02:25:58 +05:30
Shivam Mathur
2ee6797b63
Optimize Linux and macOS setup 2022-01-18 10:16:58 +05:30
Shivam Mathur
2b729b1130
Refactor setting environment variables 2022-01-18 04:41:51 +05:30
Shivam Mathur
0374a8ae84
Add support for gnupg from shivammathur/homebrew-extensions 2022-01-17 22:07:36 +05:30
Shivam Mathur
7f951c9333
Improve extension map 2022-01-17 16:13:16 +05:30
Shivam Mathur
449da348c0
Fix enabling disabled extensions with dependencies
Improve enabling extensions with no dependencies
2022-01-17 08:58:30 +05:30
Shivam Mathur
51476af47d
Set HOMEBREW_NO_ENV_HINTS in macOS 2022-01-16 14:09:49 +05:30
Shivam Mathur
9a70be75c2
Reduce php calls on Linux and macOS 2022-01-16 14:09:43 +05:30
Shivam Mathur
282305f4d7
Fix to not delete pecl.ini when disabling extensions 2022-01-16 09:37:27 +05:30
Shivam Mathur
c2a765ed5b
Do not disable phar on macOS and Linux 2022-01-16 09:24:30 +05:30
Shivam Mathur
9ea5899759
Refactor add_extension 2022-01-13 06:33:07 +05:30
Shivam Mathur
62d47dd238
Fix enabling xml extension for PECL 2022-01-13 05:22:02 +05:30
Shivam Mathur
e480353a3d
Process extensions before tools 2022-01-13 04:29:05 +05:30
Shivam Mathur
3a4acaaed8
Default to self-hosted unless GitHub hosted runner is detected
Refactor read_env in unix.sh
2022-01-12 21:15:11 +05:30
Shivam Mathur
f7f679181d
Fix adding sudo to self-hosted runners 2022-01-12 20:14:12 +05:30
Shivam Mathur
f3010adf3e
Improve tools setup
Log full semver of tools installed with composer

Refactor adding paths to PATH
2022-01-11 06:04:19 +05:30
Shivam Mathur
b7cdb2373c
Fix cp in add_tools.sh 2022-01-09 13:44:50 +05:30
Shivam Mathur
22ebe0d733
Use php-config to get semver 2022-01-09 13:44:50 +05:30
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