feat: change DEFAULT_VECTOR_COUNT #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ext-mrloop CI | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: 'ubuntu-latest' | |
strategy: | |
fail-fast: false | |
matrix: | |
php: ['8.1', '8.2', '8.3'] | |
name: PHP ${{ matrix.php }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install PHP | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: posix, pcntl | |
- name: Run tests | |
run: | | |
git clone https://github.com/markreedz/mrloop.git mrloop && \ | |
git clone https://github.com/axboe/liburing.git liburing && cd liburing && make && sudo make install && \ | |
cd ../ && git clone https://github.com/h2o/picohttpparser.git picohttp && \ | |
phpize && ./configure --with-mrloop="$(pwd)/mrloop" --with-picohttp="$(pwd)/picohttp" && \ | |
make && make test |