-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (28 loc) · 801 Bytes
/
ci.yml
File metadata and controls
28 lines (28 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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', '8.4']
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
env:
phpts: ts
- 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 ../ && phpize && ./configure --with-mrloop="$(pwd)/mrloop" && \
make && make test