Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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
Loading