Skip to content

fix php8.3

fix php8.3 #15

Workflow file for this run

name: libphpx
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.0, 8.1, 8.2, 8.3 ]
steps:
- uses: actions/checkout@v1
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
extensions: embed, curl, redis, json
- name: install dependencies
run: sudo apt update -y && sudo apt install -y googletest libgtest-dev libboost-stacktrace-dev
- name: Show machine information
run: |
date
env
uname -a
php -v
php --ini
- name: build
run: cmake . && make VERBOSE=1 -j$(nproc)
- name: run tests
run: cd tests && cmake . && make VERBOSE=1 -j$(nproc) && ./bin/phpx_tests