Commit Graph

860 Commits

Author SHA1 Message Date
Shivam Mathur
6483a6ea70
Improve install_packages in linux.sh 2023-04-02 22:03:11 +05:30
Shivam Mathur
ca308a6886
Fix minor shellcheck error 2023-04-02 21:51:40 +05:30
Shivam Mathur
035ef490b9
Rename resolveVersion to readPHPversion 2023-04-02 20:30:40 +05:30
Shivam Mathur
6bf279d08a
Fix reading php version from file 2023-04-02 20:25:49 +05:30
Shivam Mathur
bb16550379
Add support for relay on PHP 8.3 2023-03-31 01:23:49 +05:30
Shivam Mathur
7d999d501a
Switch to relay.so as the only source for relay extension 2023-03-31 00:40:53 +05:30
Shivam Mathur
6461006ceb
Improve Write-Error messages 2023-03-14 06:07:46 +05:30
Shivam Mathur
5f422817a1
Use Write-Error with ErrorAction as Stop instead of exit 2023-03-14 06:02:04 +05:30
Shivam Mathur
fb1ad7fc84
Fix enable_extension 2023-02-09 15:50:52 +05:30
Shivam Mathur
0d60024683
Choose correct ts build for zephir_parser 2023-02-09 15:41:48 +05:30
Shivam Mathur
1224b29111
Add support for snmp on macOS using shivammathur/extensions 2023-02-08 20:44:10 +05:30
Shivam Mathur
2f306f9d25
Use phpenmod to enable extensions on linux 2023-02-05 19:45:47 +05:30
Shivam Mathur
39b4e4a983
Fix warning about using -n and -I together in xargs 2023-02-05 19:19:43 +05:30
Shivam Mathur
f9390a5478
Add retry logic to Invoke-Webrequests
Add fallback url to nightly setup
2023-02-03 12:59:37 +05:30
Shivam Mathur
f42145a164
Remove call to getManifestURL unless needed in utils.parseVersion 2023-01-29 21:53:23 +05:30
Shivam Mathur
9c411b6e2b
Minor refactor in utils.resolveVersion 2023-01-29 20:17:23 +05:30
Steve Lacey
b46c8e2a8c Move php version default out of action.yml and update inputs #629 #690 2023-01-29 16:23:08 +08:00
Shivam Mathur
2d47531473
Merge pull request #690 from stevelacey/php-version-file
Support .php-version file for version detection
2023-01-29 11:40:49 +05:30
Steve Lacey
fd03521cb4 Support .php-version file; closes #629 2023-01-29 13:41:50 +08:00
Shivam Mathur
f03add0b41
Add uuid to brew_extensions list 2023-01-29 08:41:56 +05:30
Viktor Ruskai
cc0e576689
Update utils.ts 2023-01-27 22:12:33 +01:00
Shivam Mathur
d30ad8b184
Fix relay cache setup 2023-01-27 08:38:32 +05:30
Shivam Mathur
313d0cfdbf
Fix function name in grpc_php_plugin.ps1 2023-01-27 05:26:40 +05:30
Shivam Mathur
1267cf80a1
Change choco install script URL 2023-01-22 02:10:29 +05:30
Shivam Mathur
7abee8e28c
Add custom support for zephir parser 2023-01-22 02:04:12 +05:30
Shivam Mathur
dd0115673c
Fix sudo setup for containers with broken lists 2023-01-21 08:06:21 +05:30
Shivam Mathur
bbc65d999a
Fix extension logs
Refactor utils.addCommand
2023-01-18 09:00:28 +05:30
Shivam Mathur
6db1a06425
Improve support for blackfire-player 2023-01-17 05:11:26 +05:30
Shivam Mathur
52eb86c60c
Add support for relay extension 2023-01-12 16:14:06 +05:30
Shivam Mathur
40846b27d0
Fix sed call in parse_pecl_configure_options 2022-12-27 04:42:24 +05:30
Shivam Mathur
a1e6789a94
Improve Get-PhalconReleaseAssetUrl 2022-12-25 21:52:32 +05:30
Shivam Mathur
9114b007ae
Restore stability workaround for PHP 8.1 on Windows 2022-12-25 21:26:22 +05:30
Shivam Mathur
cb0c293f02
Fix typo in blackfire regex on Windows 2022-12-25 21:14:03 +05:30
Shivam Mathur
387ec95b46
Improve fetching phalcon release url on Windows 2022-12-25 20:48:17 +05:30
Shivam Mathur
3514d30f93
Allow major.minor protoc versions 2022-12-25 20:03:40 +05:30
Shivam Mathur
e51e662ef0
Add support to install extensions from shivammathur/php-extensions-windows 2022-12-23 18:40:56 +05:30
Shivam Mathur
5afd8a1842
Fix error in darwin.sh while updating dependencies 2022-12-23 18:11:26 +05:30
Shivam Mathur
1a42045d48
Use ls-remote to get default branch
Calling GitHub API on macOS without the token hits rate limit
2022-12-19 08:19:07 +05:30
Shivam Mathur
b3a12ce01e
Add fallback in PHP build cache in Windows 2022-12-19 07:19:21 +05:30
Shivam Mathur
04b2ed5b3e
Fix protoc support on Windows 2022-12-19 06:57:44 +05:30
Shivam Mathur
3407e6019c
Quote ini values with equal sign 2022-12-15 05:32:32 +05:30
Shivam Mathur
f20012026f
Bump nightly versions in unix.sh 2022-12-15 05:32:31 +05:30
Shivam Mathur
b7b50ce742
Fix extension support on php 8.2 on windows
Add PHP 8.2 support for backfire extension
2022-12-15 05:32:30 +05:30
Shivam Mathur
aa9b80f158
Fix extension support on php 8.2 on windows
Add PHP 8.2 support for backfire extension
2022-12-08 19:58:40 +05:30
Shivam Mathur
53adb47562
Mark PHP 8.2 as stable
Update OS support in README
2022-12-08 19:37:49 +05:30
Shivam Mathur
51f83e019c
Switch composer-unused back to phar 2022-12-01 04:45:59 +05:30
Shivam Mathur
173ca15c9b
Fix get_extension_from_formula in darwin.sh 2022-11-16 10:40:40 +05:30
Shivam Mathur
4704ad638a
Improve extension support on macOS 2022-11-14 15:17:12 +05:30
Shivam Mathur
5178fac634
Update PHP if ppa:ondrej/php is missing ref: actions/runner-images#6331 2022-10-28 12:24:37 +05:30
Shivam Mathur
388883d4bf
Fix support for firebird and couchbase 2022-10-25 15:29:26 +05:30
Shivam Mathur
cae6d06e69
Improve phalcon support 2022-10-24 19:05:14 +05:30
Shivam Mathur
89f4f7e8be
Run configure_pecl only when ini_files are set 2022-10-24 10:30:28 +05:30
Shivam Mathur
d2efbcd126
Fix debug support on Linux 2022-10-24 10:28:08 +05:30
Shivam Mathur
98e3af0bff
Configure brew on linux on grpc_php_plugin setup 2022-10-24 09:37:13 +05:30
Shivam Mathur
e8836c6d46
Fix logs on failure in add_pecl_extension 2022-10-24 09:37:13 +05:30
Shivam Mathur
9068f2e46f
Update sqlsrv and pdo_sqlsrv to 5.10.1 2022-10-24 09:37:12 +05:30
Shivam Mathur
7622357ff1
Improve phalcon5 support 2022-10-24 09:37:07 +05:30
Shivam Mathur
48fb8e1194
Add debug symbols support to Windows 2022-10-17 18:00:08 +05:30
Shivam Mathur
37dcd1cf8c
Merge branch 'improv/zts' of https://github.com/flavioheleno/setup-php into flavioheleno-improv/zts 2022-10-17 17:03:20 +05:30
Shivam Mathur
0575a32108
Switch to $GITHUB_OUTPUT 2022-10-12 16:34:58 +05:30
Shivam Mathur
71b0e09dbc
Improve brew support on Linux 2022-10-10 16:24:35 +05:30
Shivam Mathur
edff21f0a6
Fetch symfony-cli artifact url and fallback to brew 2022-10-10 15:35:30 +05:30
Shivam Mathur
22035eb75b
Fix version_prefix for laravel/pint 2022-10-10 15:35:29 +05:30
Shivam Mathur
b556cf7292
Add support for debug builds 2022-10-10 15:34:36 +05:30
Flavio Heleno
f99a9d4624
Add thread-safe setup support 2022-10-05 19:31:52 -03:00
Shivam Mathur
a49dfe8457
Fix version_prefix for laravel/pint 2022-09-26 15:22:12 +05:30
Shivam Mathur
7ff9ac44b4
Add support for debug builds 2022-09-26 09:42:27 +05:30
Shivam Mathur
7aff4d7a22
Run switch_version before check_extensions on Linux 2022-09-11 09:19:35 +05:30
Shivam Mathur
633321754d
Merge pull request #641 from lmichelin/master
🐞 Bug Fix: make symfony-cli installation faster on Linux
2022-09-02 02:30:57 +05:30
Shivam Mathur
40a4cb064f
Improve fetching brew taps 2022-09-02 02:21:52 +05:30
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