Skip to content

Commit

Permalink
Create integrate.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wxxiong6 authored Mar 26, 2023
1 parent 3bba55b commit c9c40ed
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: integrate
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
matrix:
name: "PHP"
runs-on: ubuntu-20.04
strategy:
matrix:
PHP: ["7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1"]
ZTS: ["no"]
include:
- PHP: "8.1"
OS: "ubuntu-latest"
ZTS: true
env:
PHP: $ {{ matrix.PHP }}
GITHUB: "yes"
enable_debug: "yes"
enable_session: "yes"
enable_maintainer_zts: $ {{ matrix.ZTS }}
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

0 comments on commit c9c40ed

Please sign in to comment.