Commit Graph

159 Commits

Author SHA1 Message Date
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
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
09e08a3554
More fixes in fetching tool versions 2021-07-14 14:17:32 +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
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
6ebd1e5184
Fix versions of composer tools 2021-04-26 06:55:12 +05:30
Shivam Mathur
a47644812e
Add fallback to Install-PSPackage in win32.ps1 2021-04-19 17:06:00 +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
bceb2ef3d8
Remove bintray 2021-04-13 19:08:47 +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
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
abefdb50ee
Fix composer config syntax 2021-02-04 11:00:27 +05:30
Shivam Mathur
a83d4379b1
Fix pcov on PHP 8.0 on Windows 2021-01-19 20:36:17 +05:30
Shivam Mathur
d74064b67a
Fix setting xdebug.mode 2020-12-17 21:08:00 +05:30
Shivam Mathur
ce02569aea
Exit on failing to setup PHP 2020-12-17 04:43:16 +05:30
Shivam Mathur
c6150c6a2b
Fix fail-fast in Windows 2020-11-25 05:39:44 +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
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
294f03454a
Install VcRedist from GitHub 2020-10-30 11:40:24 +05:30
Shivam Mathur
2c29e8b9a1
Fix version change if composer is a dependency 2020-10-24 23:40:43 +05:30
Shivam Mathur
4244b92ac6
Fix matchers setup when action is called twice 2020-10-18 19:41:58 +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
Michele Locati
eb07280d5c
Perform only one URL call to download latest PhpManager.zip asset 2020-10-18 19:41:51 +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
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
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
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
e63d25d41f
Use blackfire API to get versions 2020-08-03 11:47:09 +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
84f23853b7
Use default packagist mirror for old PHP 2020-07-24 10:31:35 +05:30
Shivam Mathur
8efcf46b31
Add support for oci8 and pdo_oci 2020-07-19 13:53:28 +05:30
Shivam Mathur
a965723128
Set memory_limit=-1 on Windows and macOS 2020-07-18 06:01:48 +05:30
Shivam Mathur
13a3d9d0a9
Fix support for pre-release extensions 2020-07-15 06:24:45 +05:30
Shivam Mathur
9d042b2683
Patch OpenSSL binaries for PHP 5.3 and 5.4 on Windows 2020-07-14 06:27:29 +05:30
Shivam Mathur
5753a00ef5
Improve composer setup 2020-07-08 05:20:52 +05:30
Shivam Mathur
b9404683e1
Improve extension support 2020-06-22 07:33:08 +05:30
Shivam Mathur
c09954033f
Fix exit log on self-hosted 2020-06-09 08:46:21 +05:30
Shivam Mathur
7cec1987ac
Improve setup on self-hosted windows 2020-06-09 08:46:16 +05:30
Shivam Mathur
94616818f0
Fix blackfire-agent setup 2020-06-04 08:40:46 +05:30
Shivam Mathur
6bd872ad2c
Fix composer peer fingerprint error for old PHP 2020-06-03 01:56:43 +05:30
Shivam Mathur
2df0d2b443
Refactor scripts and improve comments 2020-06-03 01:56:37 +05:30
Shivam Mathur
325413a824
Use Invoke-RestMethod to get tag 2020-05-27 08:02:21 +05:30
Shivam Mathur
b1776b79c8
Add support for phan/phan 2020-05-21 11:28:38 +05:30
Shivam Mathur
9c266d4158
Fix username hardcode in composer PATH 2020-05-12 19:32:10 +05:30
Shivam Mathur
5c2618165a
Fetch blackfire latest versions 2020-05-12 19:32:03 +05:30
Shivam Mathur
8123132b99
Add support for removing extensions 2020-05-12 19:32:01 +05:30
Shivam Mathur
f5863fd356
Add support for vapor-cli and infection tools 2020-05-12 19:31:58 +05:30
Shivam Mathur
cf0fdf35f2
Add composer global bin directory to PATH 2020-05-12 19:31:53 +05:30
Shivam Mathur
4960e3179f
Add support for self-hosted windows runners 2020-05-12 19:31:39 +05:30
Shivam Mathur
a2b261d79a
Add support to configure GitHub OAuth token in composer 2020-03-25 07:44:38 +05:30
Shivam Mathur
ba69b25cab
Install PhpManager from GitHub repo 2020-03-18 16:26:01 +05:30
Shivam Mathur
9252820289
Fix logs of blackfire setup 2020-03-02 19:56:53 +05:30
Shivam Mathur
acee5b203f
Add support for blackfire client, agent and player 2020-02-28 14:43:57 +05:30
Shivam Mathur
68c827cfcf
Fix wp-cli support 2020-02-23 01:19:07 +05:30
Shivam Mathur
3a473c9a22
Add support for unstable versions 2020-02-16 07:04:15 +05:30
Shivam Mathur
d99c8732ba
Fix extension_version on windows 2020-02-14 15:48:43 +05:30
Shivam Mathur
17241e2689
Add support for update and extension versions 2020-02-14 12:55:04 +05:30
Shivam Mathur
3c6644f237
Add support for old PHP versions on windows 2020-02-06 05:54:20 +05:30
Shivam Mathur
d3760be2cc
Add support for cs2pr and refactor tools code 2020-02-03 02:28:00 +05:30
Shivam Mathur
43cfa2b1a8
Refactor scripts 2020-02-02 03:26:15 +05:30
Shivam Mathur
fd2392db56
Fix check for testing tools setup 2020-01-26 17:21:04 +05:30
Shivam Mathur
c844c7b6e4
Add support for symfony in tools input 2020-01-26 12:06:55 +05:30
Shivam Mathur
b44b7344e0
Add support for pre-release pecl extensions 2020-01-26 02:27:40 +05:30
Shivam Mathur
9d6b61c5af
Add support for phive 2020-01-21 07:21:36 +05:30
Shivam Mathur
e9c783eef0
Add support for specifying nts/ts builds on windows 2020-01-21 00:44:53 +05:30
Shivam Mathur
88fb99b592
Fix logs on windows for pre-installed version 2020-01-16 10:16:44 +05:30
Shivam Mathur
c4317135df
Disable composer process-timeout 2020-01-14 12:06:52 +05:30
Shivam Mathur
9afdee42e8
Add support to specify version of tools 2020-01-08 10:45:30 +05:30
Shivam Mathur
dd4f0db7bf
Update to latest version on windows. Fixes #132 2019-12-29 00:38:06 +05:30
Shivam Mathur
6a70f864ec
Improve tools support 2019-12-28 01:03:57 +05:30
Shivam Mathur
de32d8b95f
Add tools support 2019-12-27 13:11:17 +05:30
Shivam Mathur
273096b82f
Refactor coverage and extension code 2019-12-26 20:21:39 +05:30
Shivam Mathur
4c045616f4
Improve support for ext-phalcon and refactor extensions.ts 2019-12-25 03:47:26 +05:30
Shivam Mathur
c6ad3d1a70
Add 8.0 support on windows 2019-12-19 00:23:32 +05:30
Shivam Mathur
922f1e27b8
Set ProgressPreference to Silent in win32.ps1 2019-12-18 18:52:46 +05:30
Shivam Mathur
2d3750b36e
Install 64bit version of PHP on windows 2019-12-18 18:42:55 +05:30
Shivam Mathur
1cf6a369bb
Add support for PHP 8.0.0-dev #104 2019-12-09 10:31:11 +05:30
Shivam Mathur
31b338b199
Install PCOV from pecl for PHP7.4 on windows 2019-12-06 09:10:20 +05:30
Shivam Mathur
7f32ab318e
Show semantic versions on PHP install and correct logs 2019-11-30 06:57:39 +05:30
Shivam Mathur
aad33a8e35
Update Update-PhpCAInfo command in win32.ps1 2019-11-29 10:52:07 +05:30
Shivam Mathur
de68427afb
Bump to 7.4.0 stable on windows and macOS 2019-11-28 15:54:15 +05:30
Shivam Mathur
929f9cd52d
Add flag to skip checksum if it fails 2019-11-27 23:43:04 +05:30
Shivam Mathur
22f5ad47d2
Handle exception in Update-PhpCAInfo in win32.ps1 2019-11-27 20:36:58 +05:30
Shivam Mathur
5b09e1195e
Change log message 2019-11-25 21:55:52 +05:30
Michele Locati
0be846de83
Install the stable release of xdebug even on PHP 7.4RC 2019-11-25 16:35:11 +01:00
Michele Locati
71c631cffb
Fix installing xdebug with PHP 7.4 on Windows 2019-11-25 14:03:28 +01:00
Michele Locati
47387dd6e9
Use the curl CA list if PKI Powershell Module is not available 2019-11-25 12:33:52 +01:00
Michele Locati
fec9df11d6
Simplify win32 script
- Always specify the PHP install dir
- Use default PhpManager functions
- Fix CA Authorities (so that HTTPS calls work)
- Don't handle the special xdebug case (it's bundled in PhpManager)
2019-11-25 12:19:22 +01:00
Shivam Mathur
f381d2384c
Fix check for existing extensions on windows 2019-11-15 20:36:50 +05:30