Custom installation of php module #677
-
I seem to be having an issue with installing an extension from a GitHub repository and hoping for some pointers I checked this guide: https://github.com/shivammathur/setup-php/wiki/Add-extension-from-source and it seems all I need to do is:
In short, I want the extension from Sadly that does not work. I am getting
(and other lines with errors). I even tried My workflow is here: https://github.com/niden/phalcon/blob/T38-url/.github/workflows/continuous-integration.yml#L58 Any pointers are more than appreciated. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@niden - name: "Setup PHP"
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- extensions: apcu, ...., niden/phalcon-module
+ extensions: apcu, ...., phalcon-niden/phalcon-module@${{ github.ref_name }}
ini-values: apc.enable_cli=on, session.save_path=/tmp
tools: pecl
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PHALCON_PATH: ext |
Beta Was this translation helpful? Give feedback.
-
It worked like a charm. Thank you @shivammathur. I missed the prefix part on the repo! |
Beta Was this translation helpful? Give feedback.
@niden
Please specify the extension name before the repo name and the branch/tag name after it.
Docs: https://github.com/shivammathur/setup-php/wiki/Add-extension-from-source
Test workflow: https://github.com/shivammathur/test-setup-php/actions/runs/3722779303/workflow