Skip to content

Commit

Permalink
Add PHP 8.3.0RC3 to build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
asgrim committed Oct 18, 2023
1 parent 4cd56d1 commit b5ccad5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ jobs:
fail-fast: false
matrix:
os: [ windows-2019, windows-2022 ]
php: [ "8.2", "8.1", "8.0", "7.4", "7.3", "7.2", "7.1" ]
php: [ "8.3", "8.2", "8.1", "8.0", "7.4", "7.3", "7.2", "7.1" ]
arch: [ x64, x86 ]
ts: [ ts, nts ]
exclude:
- { os: windows-2019, php: "8.3" }
- { os: windows-2019, php: "8.2" }
- { os: windows-2019, php: "8.1" }
- { os: windows-2019, php: "8.0" }
Expand All @@ -55,7 +56,7 @@ jobs:
- uses: actions/checkout@v3
- name: Setup PHP SDK
id: setup-php
uses: cmb69/setup-php-sdk@master
uses: cmb69/setup-php-sdk@v0.7
with:
version: ${{matrix.php}}
arch: ${{matrix.arch}}
Expand Down Expand Up @@ -140,10 +141,12 @@ jobs:
- 7.4.0
- 7.4.33
- 8.0.0
- 8.0.26
- 8.0.30
- 8.1.0
- 8.1.13
- 8.1.24
- 8.2.0
- 8.2.11
- 8.3.0RC3
zts-mode:
- zts
- nts
Expand All @@ -160,7 +163,7 @@ jobs:
- { os: ubuntu-22.04, php-version: 7.4.0 }
- { os: ubuntu-22.04, php-version: 7.4.33 }
- { os: ubuntu-22.04, php-version: 8.0.0 }
- { os: ubuntu-22.04, php-version: 8.0.26 }
- { os: ubuntu-22.04, php-version: 8.0.30 }
steps:
- name: "Purge built-in PHP version"
run: |
Expand All @@ -181,6 +184,9 @@ jobs:

- name: "Set php-src download URL"
run: echo "php_src_download_url=https://www.php.net/distributions/php-${{ matrix.php-version }}.tar.gz" >> $GITHUB_ENV
- name: "PHP 8.3 RC URL override"
if: ${{ startsWith(matrix.php-version, '8.3.') }}
run: echo "php_src_download_url=https://downloads.php.net/~jakub/php-${{ matrix.php-version }}.tar.gz" >> $GITHUB_ENV

- name: "Install PHP ${{ matrix.php-version }} (${{ env.zts_flag}} ${{ matrix.php-options }})"
run: |
Expand Down Expand Up @@ -233,7 +239,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.1"
- "8.2"
steps:
- uses: actions/checkout@v3
- name: Setup PHP with PECL extension
Expand Down
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<required>
<php>
<min>7.1.0</min>
<max>8.2.99</max>
<max>8.3.99</max>
</php>
<pearinstaller>
<min>1.9.1</min>
Expand Down

0 comments on commit b5ccad5

Please sign in to comment.