Skip to content

Build on ubuntu-20.04 image (18.04 is obsolete) #23

Build on ubuntu-20.04 image (18.04 is obsolete)

Build on ubuntu-20.04 image (18.04 is obsolete) #23

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
if: "!contains(github.event.head_commit.message, '[ci skip]')"
strategy:
matrix:
php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: "${{ matrix.php }}"
- name: Build extension
run: |
phpize
./configure
make
- name: Run .phpt tests
run: REPORT_EXIT_STATUS=1 NO_INTERACTION=1 TEST_PHP_ARGS="--show-diff" make test