From b5ccad5b2a4040d9872a14ca8b1c02ac6a1ad9e1 Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Fri, 6 Oct 2023 07:33:10 +0100 Subject: [PATCH] Add PHP 8.3.0RC3 to build matrix --- .github/workflows/ci-build.yaml | 18 ++++++++++++------ package.xml | 2 +- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index fef0f7a..80fd318 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -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" } @@ -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}} @@ -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 @@ -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: | @@ -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: | @@ -233,7 +239,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.2" steps: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension diff --git a/package.xml b/package.xml index eb4cd2b..2ba13f6 100644 --- a/package.xml +++ b/package.xml @@ -104,7 +104,7 @@ 7.1.0 - 8.2.99 + 8.3.99 1.9.1