Skip to content

Commit

Permalink
ci: update PHP versions
Browse files Browse the repository at this point in the history
  • Loading branch information
m6w6 committed Oct 12, 2023
1 parent 666fa43 commit 0978f3e
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 8 deletions.
64 changes: 59 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,60 @@ jobs:
run: |
make -f scripts/ci/Makefile test
old-matrix-6:
name: old-matrix-6
env:
PHP: "8.0"
enable_debug: "yes"
enable_maintainer_zts: "yes"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install
run: |
sudo apt-get install -y \
php-cli \
php-pear \
re2c
- name: Prepare
run: |
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
- name: Build
run: |
make -f scripts/ci/Makefile ext PECL=apfd
- name: Test
run: |
make -f scripts/ci/Makefile test
old-matrix-7:
name: old-matrix-7
env:
PHP: "8.1"
enable_debug: "yes"
enable_maintainer_zts: "yes"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install
run: |
sudo apt-get install -y \
php-cli \
php-pear \
re2c
- name: Prepare
run: |
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
- name: Build
run: |
make -f scripts/ci/Makefile ext PECL=apfd
- name: Test
run: |
make -f scripts/ci/Makefile test
master-0:
name: master-0
continue-on-error: true
Expand Down Expand Up @@ -200,7 +254,7 @@ jobs:
cur-dbg-zts-0:
name: cur-dbg-zts-0
env:
PHP: "8.0"
PHP: "8.2"
enable_debug: "yes"
enable_zts: "yes"
runs-on: ubuntu-20.04
Expand All @@ -227,7 +281,7 @@ jobs:
cur-dbg-zts-1:
name: cur-dbg-zts-1
env:
PHP: "8.0"
PHP: "8.2"
enable_debug: "no"
enable_zts: "yes"
runs-on: ubuntu-20.04
Expand All @@ -254,7 +308,7 @@ jobs:
cur-dbg-zts-2:
name: cur-dbg-zts-2
env:
PHP: "8.0"
PHP: "8.2"
enable_debug: "yes"
enable_zts: "no"
runs-on: ubuntu-20.04
Expand All @@ -281,7 +335,7 @@ jobs:
cur-dbg-zts-3:
name: cur-dbg-zts-3
env:
PHP: "8.0"
PHP: "8.2"
enable_debug: "no"
enable_zts: "no"
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -310,7 +364,7 @@ jobs:
env:
CFLAGS: "-O0 -g --coverage"
CXXFLAGS: "-O0 -g --coverage"
PHP: "8.0"
PHP: "8.2"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions scripts/gen_github_workflow_ci.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
jobs:
<?php

$cur = "8.0";
$cur = "8.2";
$gen = include __DIR__ . "/ci/gen-matrix.php";
$job = $gen->github([
"old-matrix" => [
"PHP" => ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4"],
"PHP" => ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1"],
"enable_debug" => "yes",
"enable_maintainer_zts" => "yes",
],
],
"master" => [
"PHP" => "master",
"enable_debug" => "yes",
Expand Down

0 comments on commit 0978f3e

Please sign in to comment.