From 31411b0d4dc8f5035876c8126b0c52650fcf9080 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Fri, 19 Jun 2020 04:09:13 +0530 Subject: [PATCH] Improve extension support --- .github/workflows/experimental-workflow.yml | 64 -------------------- .github/workflows/main-workflow.yml | 2 +- README.md | 2 +- __tests__/coverage.test.ts | 14 ----- __tests__/extensions.test.ts | 18 ++++-- dist/index.js | 38 +++++++++--- src/bin/php_nts_pcov.dll | Bin 31744 -> 0 bytes src/bin/php_ts_pcov.dll | Bin 31744 -> 0 bytes src/extensions.ts | 36 ++++++++--- src/scripts/darwin.sh | 12 +++- src/scripts/win32.ps1 | 3 +- 11 files changed, 82 insertions(+), 107 deletions(-) delete mode 100644 .github/workflows/experimental-workflow.yml delete mode 100644 src/bin/php_nts_pcov.dll delete mode 100644 src/bin/php_ts_pcov.dll diff --git a/.github/workflows/experimental-workflow.yml b/.github/workflows/experimental-workflow.yml deleted file mode 100644 index 052f7336..00000000 --- a/.github/workflows/experimental-workflow.yml +++ /dev/null @@ -1,64 +0,0 @@ -name: Experimental workflow -on: - pull_request: - branches: - - releases/v1 - paths-ignore: - - '**.md' - - 'examples/**' - push: - branches: - - releases/v1 - paths-ignore: - - '**.md' - - 'examples/**' -jobs: - run: - name: Run - runs-on: ${{ matrix.operating-system }} - strategy: - fail-fast: false - matrix: - operating-system: [ubuntu-20.04, ubuntu-18.04, ubuntu-16.04, windows-latest, macos-latest] - php-versions: ['8.0'] - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup PHP with extensions and custom config - run: node dist/index.js - env: - php-version: ${{ matrix.php-versions }} - extensions: xml, opcache, xdebug, pcov #optional - ini-values: post_max_size=256M, short_open_tag=On, date.timezone=Asia/Kolkata #optional - coverage: pcov - - - name: Testing PHP version - run: | - php -v - php -r "if(strpos(phpversion(), '${{ matrix.php-versions }}') === false) {throw new Exception('Wrong PHP version Installed');}" - - - name: Testing Composer version - run: | - composer -V - php -r "if(strpos(@exec('composer -V'), 'Composer version') === false) {throw new Exception('Composer not found');}" - - name: Testing Extensions - run: | - php -m - php -r "if(! extension_loaded('mbstring')) {throw new Exception('mbstring not found');}" - php -r "if(! extension_loaded('pcov')) {throw new Exception('PCOV not found');}" - - name: Testing ini values - run: | - php -r "if(ini_get('post_max_size')!='256M') {throw new Exception('post_max_size not added');}" - php -r "if(ini_get('short_open_tag')!=1) {throw new Exception('short_open_tag not added');}" - php -r "if(ini_get('date.timezone')!='Asia/Kolkata') {throw new Exception('date.timezone not added');}" - - name: Test JIT - run: | - php -r "if(! extension_loaded('Zend OPcache')) {throw new Exception('Zend OPcache not found');}" - php -r "if(ini_get('opcache.jit_buffer_size')!='256M') {throw new Exception('opcache.jit_buffer_size not set');}" - php -r "if(ini_get('opcache.jit')!=1235) {throw new Exception('opcache.jit not set');}" - php -r "if(ini_get('pcre.jit')!=1) {throw new Exception('pcre.jit not set');}" - - name: Benchmark JIT - run: | - curl -o bench.php https://raw.githubusercontent.com/php/php-src/master/Zend/bench.php - php bench.php \ No newline at end of file diff --git a/.github/workflows/main-workflow.yml b/.github/workflows/main-workflow.yml index 55612eb0..e864a1a7 100644 --- a/.github/workflows/main-workflow.yml +++ b/.github/workflows/main-workflow.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: operating-system: [ubuntu-20.04, ubuntu-18.04, ubuntu-16.04, windows-latest, macos-latest] - php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4'] + php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0'] steps: - name: Checkout uses: actions/checkout@v2 diff --git a/README.md b/README.md index e63ecb44..a5d3ce46 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ Tools which cannot be installed gracefully leave an error message in the logs, t ### Xdebug Specify `coverage: xdebug` to use `Xdebug`. -Runs on all [PHP versions supported](#tada-php-support "List of PHP versions supported on this GitHub Action") except `8.0`. +Runs on all [PHP versions supported](#tada-php-support "List of PHP versions supported on this GitHub Action"). ```yaml uses: shivammathur/setup-php@v1 diff --git a/__tests__/coverage.test.ts b/__tests__/coverage.test.ts index fbed2d38..3033d773 100644 --- a/__tests__/coverage.test.ts +++ b/__tests__/coverage.test.ts @@ -36,11 +36,6 @@ describe('Config tests', () => { expect(win32).toContain('add_extension xdebug'); }); - it('checking addCoverage with Xdebug on windows', async () => { - const win32: string = await coverage.addCoverage('xdebug', '8.0', 'win32'); - expect(win32).toContain('Xdebug currently only supports PHP 7.4 or lower'); - }); - it('checking addCoverage with Xdebug on linux', async () => { const linux: string = await coverage.addCoverage('xdebug', '7.4', 'linux'); expect(linux).toContain('add_extension xdebug'); @@ -61,15 +56,6 @@ describe('Config tests', () => { expect(darwin).toContain('add_extension xdebug'); }); - it('checking addCoverage with Xdebug on darwin', async () => { - const darwin: string = await coverage.addCoverage( - 'xdebug', - '8.0', - 'darwin' - ); - expect(darwin).toContain('Xdebug currently only supports PHP 7.4 or lower'); - }); - it('checking disableCoverage windows', async () => { const win32 = await coverage.addCoverage('none', '7.4', 'win32'); expect(win32).toContain('Remove-Extension xdebug'); diff --git a/__tests__/extensions.test.ts b/__tests__/extensions.test.ts index f39e55ce..941ec7d1 100644 --- a/__tests__/extensions.test.ts +++ b/__tests__/extensions.test.ts @@ -1,6 +1,12 @@ import * as extensions from '../src/extensions'; describe('Extension tests', () => { + it('checking getXdebugVersion', async () => { + expect(await extensions.getXdebugVersion('5.3')).toContain('2.2.7'); + expect(await extensions.getXdebugVersion('5.4')).toContain('2.4.1'); + expect(await extensions.getXdebugVersion('5.5')).toContain('2.5.5'); + expect(await extensions.getXdebugVersion('5.6')).toContain('2.9.6'); + }); it('checking addExtensionOnWindows', async () => { let win32: string = await extensions.addExtension( 'Xdebug, pcov, sqlite, phalcon4, ast-beta', @@ -83,8 +89,8 @@ describe('Extension tests', () => { '7.2', 'darwin' ); - expect(darwin).toContain('sudo pecl install -f xdebug'); - expect(darwin).toContain('sudo pecl install -f pcov'); + expect(darwin).toContain('add_brew_extension xdebug'); + expect(darwin).toContain('add_brew_extension pcov'); expect(darwin).toContain('sudo pecl install -f sqlite3'); expect(darwin).toContain('add_unstable_extension ast beta extension'); @@ -98,16 +104,16 @@ describe('Extension tests', () => { expect(darwin).toContain('sudo pecl install -f pcov'); darwin = await extensions.addExtension('pcov', '7.2', 'darwin'); - expect(darwin).toContain('sudo pecl install -f pcov'); + expect(darwin).toContain('add_brew_extension pcov'); darwin = await extensions.addExtension('xdebug', '5.6', 'darwin'); - expect(darwin).toContain('sudo pecl install -f xdebug-2.5.5'); + expect(darwin).toContain('add_brew_extension xdebug'); darwin = await extensions.addExtension('xdebug', '7.0', 'darwin'); - expect(darwin).toContain('sudo pecl install -f xdebug-2.9.0'); + expect(darwin).toContain('add_brew_extension xdebug'); darwin = await extensions.addExtension('xdebug', '7.2', 'darwin'); - expect(darwin).toContain('sudo pecl install -f xdebug'); + expect(darwin).toContain('add_brew_extension xdebug'); darwin = await extensions.addExtension('redis', '5.6', 'darwin'); expect(darwin).toContain('sudo pecl install -f redis-2.2.8'); diff --git a/dist/index.js b/dist/index.js index fa7e33b4..9b66d196 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2648,9 +2648,27 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.addExtension = exports.addExtensionLinux = exports.addExtensionWindows = exports.addExtensionDarwin = void 0; +exports.addExtension = exports.addExtensionLinux = exports.addExtensionWindows = exports.addExtensionDarwin = exports.getXdebugVersion = void 0; const path = __importStar(__webpack_require__(622)); const utils = __importStar(__webpack_require__(163)); +/** + * Function to get Xdebug version compatible with php versions + * + * @param version + */ +async function getXdebugVersion(version) { + switch (version) { + case '5.3': + return '2.2.7'; + case '5.4': + return '2.4.1'; + case '5.5': + return '2.5.5'; + default: + return '2.9.6'; + } +} +exports.getXdebugVersion = getXdebugVersion; /** * Install and enable extensions for darwin * @@ -2678,17 +2696,17 @@ async function addExtensionDarwin(extension_csv, version, pipe) { ' ' + ext_prefix; return; - // match 5.6xdebug - case /5\.6xdebug/.test(version_extension): - command = command_prefix + 'xdebug-2.5.5' + pipe; + // match 5.6xdebug, 7.0xdebug...7.4xdebug, 8.0xdebug + case /(5\.6|7\.[0-4]|8\.[0-9])xdebug/.test(version_extension): + command = 'add_brew_extension xdebug'; break; - // match 7.0xdebug - case /7\.0xdebug/.test(version_extension): - command = command_prefix + 'xdebug-2.9.0' + pipe; + // match 7.1pcov...7.4pcov, 8.0pcov + case /(7\.[1-4]|8\.[0-9])pcov/.test(version_extension): + command = 'add_brew_extension pcov'; break; // match 5.6redis case /5\.6redis/.test(version_extension): - command = command_prefix + 'redis-2.2.8' + pipe; + command = command_prefix + 'redis-2.2.8'; break; // match imagick case /^imagick$/.test(extension): @@ -2703,7 +2721,7 @@ async function addExtensionDarwin(extension_csv, version, pipe) { // match sqlite case /^sqlite$/.test(extension): extension = 'sqlite3'; - command = command_prefix + extension + pipe; + command = command_prefix + extension; break; // match 7.0phalcon3...7.3phalcon3 and 7.2phalcon4...7.4phalcon4 case /^7\.[0-3]phalcon3$|^7\.[2-4]phalcon4$/.test(version_extension): @@ -2716,7 +2734,7 @@ async function addExtensionDarwin(extension_csv, version, pipe) { version; return; default: - command = command_prefix + extension + pipe; + command = command_prefix + extension; break; } script += diff --git a/src/bin/php_nts_pcov.dll b/src/bin/php_nts_pcov.dll deleted file mode 100644 index 20970b0b3731084ea74900710d8e9486e3750d83..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 31744 zcmeHw3w%`7wfCN6CYijL0Wuhn$ACdm2n?Bs2?;twX5b7=AQHe-(aCE`^BWlY-ZO{F$ea=5Xfk%!ySd?lQ~SQ1B#Kz0-e2=zyQW-NhK*khU0ylTb~K-r0{FTj`^@F3tF zgxtf}mwLc1#>~`7v8$W0dl9x=&)C`+?i_Fj(y5<@uL|U$4*!~KzUXZek+#!@2UUpL z9$zk^X2vS!`)ex2O6Un9tOEBe+{z?mZ2zeX3 zkVpbW-QzDC@$(1#)j)EY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5omo5Q?9AV3+gZA^d}rOx zww*h6-n(=6&V4(N?mWITy7SCV;{#a_%y}UH0o#KW5AJ!8?b7cu?lSM1v&*u}woBMm zx~pPW-7ep*_Fda|?by||Yxk}_yKK9S4`)4$5BeX`KVp2u@(3;Z=AgW+E_2tME=yN_ jm#s_aD(x!os_XJ~b#?9T+S9eKtGf#%|GfS$NZ`K!N#K#; diff --git a/src/bin/php_ts_pcov.dll b/src/bin/php_ts_pcov.dll deleted file mode 100644 index a7086b362ea0b8329655823a12724b122974bd09..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 31744 zcmeHweSDKew*RC}+5jyH&|pPg0t7{&CA1Y=TQs2wK7mv#6hs00n$l`tVqTyqXxX$Y zafq_6eq`@;_x7j!1YhpTx?UIA-D^wH78M0_6<_XJR(DOUyBA$Af~!8i@0sUGnv|-$ z_jm6f_j5P!JZI+2nKLtI&YYP!GfB&C*vV2EV_H12%-DWF`q;$#+h2MOW8-HW7|)&_ zb7bazjr+*ViiSqN+3RcF;Hz#n*H*W*vpfSld8ljci%Dld-z*r?J4adv1)Sono`h<5I?F zGY2pQDpmqCif}ucuY^+=OB1MJ$hv`mP;Y#Yu@qKik7ZKxsu_m?LP}DAF*m|)z#W9_ zV(d#j;7-OI)Jd_=K9R(_8X2pI;S!+!X2#}H{3gbzpW>e?#=248Z~Ej0JZ&hN?OuWx zwUgSOST3Sw#;S6Cb=84t#;%wFM3sVMB%6ef4QiCDkTEG83GH~O>;^mu9~-Ka>s1Iv z8_`xFP}Du~VT=eqB0L{jRfa=%o2RN`q8*GoL(n8dfWp(3Jy*%aV5 zqf}ICG<@$SDsEd3DZj*DlTAymRmeKOMA=-I4|eD9dJP$lB3U+N#i(b44cF;LQfrS% zk>%NL-cF^vBIVg-C|EZA`Wg&fo`&XjT9Cj^F9#WmERm(!eiuhQGWsPRCc`0h9uBOg zmKM4r4vURKR%iZUfVrqGfEkY@n=;Bl8*y7~vgvvRJG%o@xNZ}e%Kh%zZ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jC;&`=I*iXvF(xel { + switch (version) { + case '5.3': + return '2.2.7'; + case '5.4': + return '2.4.1'; + case '5.5': + return '2.5.5'; + default: + return '2.9.6'; + } +} + /** * Install and enable extensions for darwin * @@ -32,17 +50,17 @@ export async function addExtensionDarwin( ' ' + ext_prefix; return; - // match 5.6xdebug - case /5\.6xdebug/.test(version_extension): - command = command_prefix + 'xdebug-2.5.5' + pipe; + // match 5.6xdebug, 7.0xdebug...7.4xdebug, 8.0xdebug + case /(5\.6|7\.[0-4]|8\.[0-9])xdebug/.test(version_extension): + command = 'add_brew_extension xdebug'; break; - // match 7.0xdebug - case /7\.0xdebug/.test(version_extension): - command = command_prefix + 'xdebug-2.9.0' + pipe; + // match 7.1pcov...7.4pcov, 8.0pcov + case /(7\.[1-4]|8\.[0-9])pcov/.test(version_extension): + command = 'add_brew_extension pcov'; break; // match 5.6redis case /5\.6redis/.test(version_extension): - command = command_prefix + 'redis-2.2.8' + pipe; + command = command_prefix + 'redis-2.2.8'; break; // match imagick case /^imagick$/.test(extension): @@ -57,7 +75,7 @@ export async function addExtensionDarwin( // match sqlite case /^sqlite$/.test(extension): extension = 'sqlite3'; - command = command_prefix + extension + pipe; + command = command_prefix + extension; break; // match 7.0phalcon3...7.3phalcon3 and 7.2phalcon4...7.4phalcon4 case /^7\.[0-3]phalcon3$|^7\.[2-4]phalcon4$/.test(version_extension): @@ -70,7 +88,7 @@ export async function addExtensionDarwin( version; return; default: - command = command_prefix + extension + pipe; + command = command_prefix + extension; break; } script += diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index aad88d9f..3b07c966 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -68,6 +68,16 @@ add_pecl_extension() { fi } +# Function to install a php extension from shivammathur/extensions tap. +add_brew_extension() { + extension=$1 + if ! brew tap | grep shivammathur/extensions; then + brew tap --shallow shivammathur/extensions + fi + brew install "$extension@$version" + sudo cp "$(brew --prefix)/opt/$extension@$version/$extension.so" "$ext_dir" +} + # Function to setup extensions add_extension() { extension=$1 @@ -169,7 +179,7 @@ setup_php() { update_formulae fi export HOMEBREW_NO_INSTALL_CLEANUP=TRUE - brew tap shivammathur/homebrew-php + brew tap --shallow shivammathur/homebrew-php brew install shivammathur/php/php@"$version" brew link --force --overwrite php@"$version" } diff --git a/src/scripts/win32.ps1 b/src/scripts/win32.ps1 index 238f3a8c..091eda8a 100644 --- a/src/scripts/win32.ps1 +++ b/src/scripts/win32.ps1 @@ -239,7 +239,8 @@ Set-PhpIniKey -Key 'date.timezone' -Value 'UTC' -Path $php_dir Enable-PhpExtension -Extension openssl, curl, opcache, mbstring -Path $php_dir Update-PhpCAInfo -Path $php_dir -Source CurrentUser if ($version -eq 'master') { - Copy-Item $dir"\..\src\bin\php_$env:PHPTS`_pcov.dll" -Destination $ext_dir"\php_pcov.dll" + Invoke-WebRequest -UseBasicParsing -Uri "https://github.com/shivammathur/php-extensions-windows/releases/latest/download/php_$env:phpts`_$arch`_pcov.dll" -OutFile $ext_dir"\php_pcov.dll" >$null 2>&1 + Invoke-WebRequest -UseBasicParsing -Uri "https://github.com/shivammathur/php-extensions-windows/releases/latest/download/php_$env:phpts`_$arch`_xdebug.dll" -OutFile $ext_dir"\php_xdebug.dll" >$null 2>&1 Set-PhpIniKey -Key 'opcache.jit_buffer_size' -Value '256M' -Path $php_dir Set-PhpIniKey -Key 'opcache.jit' -Value '1235' -Path $php_dir }