Skip to content

Skip unnecessary poll() syscall when no I/O watchers are active #10

Skip unnecessary poll() syscall when no I/O watchers are active

Skip unnecessary poll() syscall when no I/O watchers are active #10

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
name: PHP ${{ matrix.php }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
php: ['8.1', '8.2', '8.3', '8.4', '8.5']
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: none
- name: Build extension
run: |
phpize
./configure --enable-eventloop
make -j$(nproc 2>/dev/null || sysctl -n hw.ncpu)
- name: Run tests
run: make test TESTS="-q --show-diff"
- name: Verify extension loads
run: php -d extension=modules/eventloop.so -m | grep eventloop