Skip to content

fix: PHP 8 Compatibility #11

fix: PHP 8 Compatibility

fix: PHP 8 Compatibility #11

Workflow file for this run

name: integrate
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
matrix:
name: "PHP"
runs-on: ${{ matrix.OS }}
strategy:
matrix:
PHP: ["7.0", "7.1", "7.2", "7.3"]
OS: ["ubuntu-latest"]
include:
- PHP: "7.4"
OS: "ubuntu-latest"
ZTS: true
- PHP: "8.0"
OS: "ubuntu-latest"
ZTS: true
- PHP: "8.1"
OS: "ubuntu-latest"
ZTS: true
- PHP: "8.2"
OS: "ubuntu-latest"
ZTS: true
- PHP: "8.3"
OS: "ubuntu-latest"
ZTS: true
- PHP: "8.4"
OS: "ubuntu-latest"
ZTS: true
env:
GITHUB: "yes"
enable_debug: "yes"
enable_session: "yes"
TEST_PHP_ARGS : "--show-diff"
REPORT_EXIT_STATUS: "yes"
NO_INTERACTION: "yes"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Setup
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.PHP }}
- name: Install
run: |
sudo apt-get install -y re2c
- name: Prepare
run: |
phpize
- name: Build
run: |
./configure
- name: Make
run: |
make
- name: Test
run: |
make test