Skip to content

Commit 920454e

Browse files
committed
setup workflow
1 parent 4f728dd commit 920454e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/php.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@ jobs:
2121
uses: shivammathur/setup-php@v2
2222
with:
2323
php-version: 8.0
24-
extension: rdkafka
24+
25+
- name: Install librdkafka and rdkafka extension
26+
run: |
27+
sudo apt-get install -y librdkafka-dev
28+
pecl install rdkafka
29+
echo "extension=rdkafka.so" >> $(php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||")
2530
2631
- name: Validate composer.json and composer.lock
2732
run: composer validate --strict

0 commit comments

Comments
 (0)