Closed Kovah closed 1 month ago
@Kovah
Please specify EVENT_LIBS
env as libev-dev
, then it will install it before installing event extension.
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
extensions: mbstring, bcmath, redis, swoole, event, sockets
coverage: xdebug
env:
EVENT_LIBS: libev-dev
Test workflow: https://github.com/shivammathur/test-setup-php/actions/runs/9261151718
Sorry my bad, it's not about the event
library, but ev
. I corrected the yaml in the original post. Does this fix also apply to ev
?
@Kovah ok. I have fixed that in https://github.com/shivammathur/setup-php/commit/2a620039e802219ba742439eeb6bd1eadae562fa.
It will be in the next release.
Awesome! Many thanks!
Released https://github.com/shivammathur/setup-php/releases/tag/2.30.5 with the fix
Describe the bug i was trying to use the ev library in a pipeline, but I am unable to install it with the Setup PHP action.
Version
v1
orv2
.v2
v1
Runners
Operating systems
ubuntu-latest
PHP versions
8.3.7
To Reproduce
Expected behavior EV to be installed.
Screenshots/Logs
Additional context I guess that it needs the same fix as the
event
extension as described as a fix in #722Are you willing to submit a PR?