arnaud-lb / php-rdkafka

Production-ready, stable Kafka client for PHP
MIT License
2.08k stars 263 forks source link

Publish snapshot to PECL so that we can start testing PHP 8.1 on CI #473

Closed ruudk closed 2 years ago

ruudk commented 2 years ago

In a few weeks PHP 8.1 will be released. In order for people to prepare their project it would be great if the current master could be pushed to PECL as a snapshot release. That will make it easier to install the unreleased version on for example GitHub Actions using setup-php.

ruudk commented 2 years ago

This seems to work for setup-php:

- name: Setup PHP with rdkafka from source
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.1'  
    extensions: rdkafka-arnaud-lb/php-rdkafka@5.x
  env:
    RDKAFKA_LINUX_LIBS: librdkafka-dev