From ace8437be5e9dd338766e67136912aa96fec2abe Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Thu, 19 Jun 2025 16:00:30 +0100 Subject: [PATCH 01/39] Delete docker directory --- docker/windows/Dockerfile | 77 --------------------------------------- 1 file changed, 77 deletions(-) delete mode 100644 docker/windows/Dockerfile diff --git a/docker/windows/Dockerfile b/docker/windows/Dockerfile deleted file mode 100644 index cbec6e2d..00000000 --- a/docker/windows/Dockerfile +++ /dev/null @@ -1,77 +0,0 @@ -FROM mcr.microsoft.com/windows/servercore:ltsc2019 - -COPY . C:/php-zephir-parser - -# Download required functions for git installation -RUN powershell.exe -Command \ - ((new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/actions/virtual-environments/5690645f0e91c30d888353d7b58432dc0466eca9/images/win/scripts/ImageHelpers/ChocoHelpers.ps1', 'C:\ChocoHelpers.ps1')); \ - ((new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/actions/virtual-environments/f93413492e47983bafbc29ab84cb697aeeb41f7b/images/win/scripts/ImageHelpers/InstallHelpers.ps1', 'C:\InstallHelpers.ps1')); \ - ((new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/actions/virtual-environments/b7f276c003aea42575b52247bdb2183e355fca2f/images/win/scripts/ImageHelpers/PathHelpers.ps1', 'C:\PathHelpers.ps1')); - -# Install Choco and Git -RUN powershell.exe -Command \ - Import-Module C:\ChocoHelpers.ps1; \ - Import-Module C:\InstallHelpers.ps1; \ - Import-Module C:\PathHelpers.ps1; \ - Invoke-Expression ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/actions/virtual-environments/main/images/win/scripts/Installers/Install-Choco.ps1')); \ - Invoke-Expression ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/actions/virtual-environments/main/images/win/scripts/Installers/Install-Git.ps1')); - -# Clone 'virtual-environments' -RUN powershell.exe git clone https://github.com/actions/virtual-environments.git - -# Install all necessary dependecies -RUN powershell.exe -Command \ - Import-Module C:\virtual-environments\images\win\scripts\ImageHelpers\PathHelpers.ps1; \ - Import-Module C:\virtual-environments\images\win\scripts\ImageHelpers\InstallHelpers.ps1; \ - Import-Module C:\virtual-environments\images\win\scripts\ImageHelpers\ChocoHelpers.ps1; \ - Import-Module C:\virtual-environments\images\win\scripts\ImageHelpers\VisualStudioHelpers.ps1; \ - Invoke-Expression C:\virtual-environments\images\win\scripts\Installers\Install-VCRedist.ps1; \ - Invoke-Expression C:\virtual-environments\images\win\scripts\Installers\Install-VS.ps1; \ - Invoke-Expression C:\virtual-environments\images\win\scripts\Installers\Install-PHP.ps1; - -RUN curl -SL --output vs_buildtools.exe https://aka.ms/vs/16/release/vs_buildtools.exe && \ - (start /w vs_buildtools.exe --quiet --wait --norestart --nocache modify \ - --installPath "C:\BuildTools" \ - --add Microsoft.VisualStudio.Workload.AzureBuildTools \ - --remove Microsoft.VisualStudio.Component.Windows10SDK.10240 \ - --remove Microsoft.VisualStudio.Component.Windows10SDK.10586 \ - --remove Microsoft.VisualStudio.Component.Windows10SDK.14393 \ - --remove Microsoft.VisualStudio.Component.Windows81SDK) && \ - del /q vs_buildtools.exe - -RUN dir "C:\BuildTools" - -#RUN call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\Common7\\Tools\\VsDevCmd.bat" - -ENV PHP_VERSION=8.0.9 -ENV PHP_MINOR=8.0 -ENV TEST_PHP_EXECUTABLE=C:/php/php.exe -ENV BUILD_TYPE=ts -ENV VC_VERSION=16 -ENV PHP_ARCH=x64 -ENV BUILD_VERSION=1 - -ENV PHP_SDK_VERSION=2.2.0 -ENV PHP_DEVPACK=C:/tools/php-devpack -ENV PHP_SDK_PATH=C:/tools/php-sdk -ENV EXTENSION_FILE=php_zephir_parser.dll - -# choco install visualstudio2019-workload-vctools; \ -# choco install llvm; \ -RUN powershell.exe -Command \ - choco install 7zip; \ - Import-Module C:\php-zephir-parser\.ci\win-ci-tools.psm1; \ - SetupCommonEnvironment; \ - InstallPhpSdk; \ - InstallPhpDevPack; \ - AppendSessionPath; - -RUN call C:\tools\php-sdk\bin\phpsdk_setvars.bat && \ - cd C:\php-zephir-parser\parser && \ - cl.exe lemon.c && \ - DEL zephir.c zephir.h parser.c scanner.c && \ - re2c.exe -o scanner.c scanner.re && \ - lemon.exe -s zephir.lemon && \ - ECHO #include ^ > parser.c && \ - TYPE zephir.c >> parser.c && \ - TYPE base.c >> parser.c From 40fcbf4422fad135e1dac1430ef9e95b7f1c51a7 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Thu, 25 Sep 2025 00:01:42 +0100 Subject: [PATCH 02/39] #160 - Enable PHP8.5 support --- .github/workflows/ci.yml | 6 ++++-- CHANGELOG.md | 4 ++++ VERSION | 2 +- package.xml | 12 ++++++------ 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef12f040..622e1f37 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] + php: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ] ts: [ 'ts', 'nts' ] arch: [ 'x64' ] @@ -64,6 +64,8 @@ jobs: - { php: '8.3', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } #- { php: '8.4', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } #- { php: '8.4', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } + #- { php: '8.5', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } + #- { php: '8.5', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } steps: - uses: actions/checkout@v4 @@ -195,7 +197,7 @@ jobs: - name: Install PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.4' + php-version: '8.5' tools: pecl - name: Install System Dependencies diff --git a/CHANGELOG.md b/CHANGELOG.md index a9957605..666e67dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] - xxxx-xx-xx +## [1.8.0] - 2025-09-24 +### Added +- Enabled PHP 8.5 support [#160](https://github.com/phalcon/php-zephir-parser/issues/160) + ## [1.7.0] - 2024-11-23 ### Added - Enabled PHP 8.4 support [#154](https://github.com/phalcon/php-zephir-parser/issues/154) diff --git a/VERSION b/VERSION index bd8bf882..27f9cd32 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.7.0 +1.8.0 diff --git a/package.xml b/package.xml index 84f29659..3a83c311 100644 --- a/package.xml +++ b/package.xml @@ -12,11 +12,11 @@ anton@phalcon.io yes - 2024-11-23 + 2025-09-24 - 1.7.0 - 1.7.0 + 1.8.0 + 1.8.0 stable @@ -24,11 +24,11 @@ MIT - Sat, Nov 23, 2024 - Zephir Parser 1.7.0 + Wed, Sep 24, 2025 - Zephir Parser 1.8.0 = Added: - - Enabled support for PHP 8.4 + - Enabled support for PHP 8.5 @@ -215,7 +215,7 @@ 7.0.0 - 8.4.99 + 8.5.99 1.10 From 4a3c7d0e6a5f2cc317c16f95871bad252626b6ab Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Thu, 25 Sep 2025 00:06:05 +0100 Subject: [PATCH 03/39] Add dependabot.yml --- .github/dependabot.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..12301490 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" From b56d4c5c3467f50d74da7eaf121b02846c2dfbb9 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Thu, 25 Sep 2025 00:07:07 +0100 Subject: [PATCH 04/39] Disable 'schedule' trigger --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 622e1f37..d5dbc83a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,8 +8,8 @@ name: Zephir Parser CI on: - schedule: - - cron: '0 2 * * *' # Daily at 02:00 runs only on default branch +# schedule: +# - cron: '0 2 * * *' # Daily at 02:00 runs only on default branch push: paths-ignore: - '**.md' From 9ffc34b5d4d2223ddf3f8e64064e2e4372757654 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Sep 2025 23:07:14 +0000 Subject: [PATCH 05/39] Bump actions/download-artifact from 4 to 5 Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef12f040..0907d1be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -271,7 +271,7 @@ jobs: - name: Download Zephir Parser build artifacts id: download - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: path: ./build-artifacts From 55bab1ccd15ead87bec03fb4d995b8036b4450d0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Sep 2025 23:07:17 +0000 Subject: [PATCH 06/39] Bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef12f040..087d10f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,7 +66,7 @@ jobs: #- { php: '8.4', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install PHP ${{ matrix.php }} uses: shivammathur/setup-php@v2 @@ -190,7 +190,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install PHP uses: shivammathur/setup-php@v2 @@ -260,7 +260,7 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1 From fa2b530d9624a12d781e2a1aa7b02ba048b5d2dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Sep 2025 23:07:18 +0000 Subject: [PATCH 07/39] Bump codecov/codecov-action from 4 to 5 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v4...v5) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef12f040..c11b40fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -167,7 +167,7 @@ jobs: - name: Upload Code Coverage Report if: matrix.ccov == 'ON' - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./lcov.info From 54a218f9b0950309bd4a8c43d5ce98cab89275d6 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Thu, 25 Sep 2025 00:08:57 +0100 Subject: [PATCH 08/39] #160 - Update macOS version in CI configuration to 13 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5dbc83a..664afc11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: # Linux - { name: ubuntu-gcc, os: ubuntu-latest, compiler: gcc, ccov: 'ON' } # macOS - - { name: macos-clang, os: macos-12, compiler: clang, ccov: 'OFF' } + - { name: macos-clang, os: macos-13, compiler: clang, ccov: 'OFF' } # Windows - { php: '7.0', ts: 'nts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2019', compiler: 'vc14', ccov: 'OFF' } - { php: '7.0', ts: 'ts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2019', compiler: 'vc14', ccov: 'OFF' } From 9430f4f3541291001762eaa1db32e303f3ba05b8 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Thu, 25 Sep 2025 08:43:28 +0100 Subject: [PATCH 09/39] #160 - Update macOS version in CI configuration to 14 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 664afc11..6106ee81 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: # Linux - { name: ubuntu-gcc, os: ubuntu-latest, compiler: gcc, ccov: 'ON' } # macOS - - { name: macos-clang, os: macos-13, compiler: clang, ccov: 'OFF' } + - { name: macos-clang, os: macos-14, compiler: clang, ccov: 'OFF' } # Windows - { php: '7.0', ts: 'nts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2019', compiler: 'vc14', ccov: 'OFF' } - { php: '7.0', ts: 'ts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2019', compiler: 'vc14', ccov: 'OFF' } From f471c5302e7afb7edcc3928892e575bd80d1f88a Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Thu, 25 Sep 2025 15:10:21 +0100 Subject: [PATCH 10/39] #160 - Adjust test case --- tests/base/extension_info.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/base/extension_info.phpt b/tests/base/extension_info.phpt index e74f66a2..af3f6ec9 100644 --- a/tests/base/extension_info.phpt +++ b/tests/base/extension_info.phpt @@ -21,7 +21,7 @@ ob_start(); phpinfo(INFO_MODULES); $info = trim(ob_get_clean()); -echo contains($info, 'Zephir Parser').PHP_EOL; +echo contains($info, 'zephir_parser').PHP_EOL; echo contains($info, 'The Zephir Parser delivered as a C extension for the PHP language.').PHP_EOL; echo contains($info, 'zephir_parser => enabled').PHP_EOL; echo contains($info, 'Author => Zephir Team and contributors').PHP_EOL; From 09a13fcb9ead155a19ebba487996d400882987f8 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Thu, 25 Sep 2025 15:13:44 +0100 Subject: [PATCH 11/39] #160 - Adjust test case --- tests/base/extension_info.phpt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/base/extension_info.phpt b/tests/base/extension_info.phpt index af3f6ec9..1213fd07 100644 --- a/tests/base/extension_info.phpt +++ b/tests/base/extension_info.phpt @@ -31,6 +31,7 @@ echo contains($info, 'Build Date =>').PHP_EOL; --EXPECT-- bool(true) Zephir Parser + The Zephir Parser delivered as a C extension for the PHP language. zephir_parser => enabled Author => Zephir Team and contributors From 66cd9c1f9a5547730841d68d855ee1ce542f86b9 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Thu, 25 Sep 2025 15:17:49 +0100 Subject: [PATCH 12/39] #160 - Adjust test case --- tests/base/extension_info.phpt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/base/extension_info.phpt b/tests/base/extension_info.phpt index 1213fd07..6729776f 100644 --- a/tests/base/extension_info.phpt +++ b/tests/base/extension_info.phpt @@ -30,8 +30,7 @@ echo contains($info, 'Build Date =>').PHP_EOL; ?> --EXPECT-- bool(true) -Zephir Parser - +zephir_parser The Zephir Parser delivered as a C extension for the PHP language. zephir_parser => enabled Author => Zephir Team and contributors From f0f85c4ef2aae8b05443c9a463334b5cfda3e68d Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Thu, 25 Sep 2025 15:20:47 +0100 Subject: [PATCH 13/39] #160 - Adjust test case --- tests/base/extension_info.phpt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/base/extension_info.phpt b/tests/base/extension_info.phpt index 6729776f..8254c68c 100644 --- a/tests/base/extension_info.phpt +++ b/tests/base/extension_info.phpt @@ -21,7 +21,7 @@ ob_start(); phpinfo(INFO_MODULES); $info = trim(ob_get_clean()); -echo contains($info, 'zephir_parser').PHP_EOL; +//echo contains($info, 'zephir_parser').PHP_EOL; echo contains($info, 'The Zephir Parser delivered as a C extension for the PHP language.').PHP_EOL; echo contains($info, 'zephir_parser => enabled').PHP_EOL; echo contains($info, 'Author => Zephir Team and contributors').PHP_EOL; @@ -30,7 +30,6 @@ echo contains($info, 'Build Date =>').PHP_EOL; ?> --EXPECT-- bool(true) -zephir_parser The Zephir Parser delivered as a C extension for the PHP language. zephir_parser => enabled Author => Zephir Team and contributors From d3386b8abdf641fde7c3a81cdd4eaa1e3905fe2d Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Thu, 25 Sep 2025 15:27:35 +0100 Subject: [PATCH 14/39] #160 - Adjust path in test --- tests/base/extension_info.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/base/extension_info.phpt b/tests/base/extension_info.phpt index 8254c68c..0129038f 100644 --- a/tests/base/extension_info.phpt +++ b/tests/base/extension_info.phpt @@ -12,7 +12,7 @@ function contains($input, $expected) { } $version = phpversion('zephir_parser'); -$actual = trim(file_get_contents(__DIR__ . '/../../VERSION')); +$actual = trim(file_get_contents(__DIR__ . '/VERSION')); $compare = $version === $actual; var_dump($compare); From d71ce1fd86db247443eb45ca2c23569d33878f70 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Thu, 25 Sep 2025 15:56:39 +0100 Subject: [PATCH 15/39] #160 - Revert version --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 27f9cd32..bd8bf882 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.8.0 +1.7.0 From d08128c5101c45fa1d4ab193208563e1d225f48b Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Thu, 25 Sep 2025 16:09:47 +0100 Subject: [PATCH 16/39] #160 - Revert version path --- tests/base/extension_info.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/base/extension_info.phpt b/tests/base/extension_info.phpt index 0129038f..8254c68c 100644 --- a/tests/base/extension_info.phpt +++ b/tests/base/extension_info.phpt @@ -12,7 +12,7 @@ function contains($input, $expected) { } $version = phpversion('zephir_parser'); -$actual = trim(file_get_contents(__DIR__ . '/VERSION')); +$actual = trim(file_get_contents(__DIR__ . '/../../VERSION')); $compare = $version === $actual; var_dump($compare); From 427edfa09988fb992a42ec8ad69174c1e6bd082f Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 15:36:54 +0100 Subject: [PATCH 17/39] #160 - Replace `windows-2019` to `windows-2022` image --- .github/workflows/ci.yml | 44 ++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6106ee81..5a1deae4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,28 +44,28 @@ jobs: # macOS - { name: macos-clang, os: macos-14, compiler: clang, ccov: 'OFF' } # Windows - - { php: '7.0', ts: 'nts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2019', compiler: 'vc14', ccov: 'OFF' } - - { php: '7.0', ts: 'ts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2019', compiler: 'vc14', ccov: 'OFF' } - - { php: '7.1', ts: 'nts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2019', compiler: 'vc14', ccov: 'OFF' } - - { php: '7.1', ts: 'ts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2019', compiler: 'vc14', ccov: 'OFF' } - - { php: '7.2', ts: 'nts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2019', compiler: 'vc15', ccov: 'OFF' } - - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2019', compiler: 'vc15', ccov: 'OFF' } - - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2019', compiler: 'vc15', ccov: 'OFF' } - - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2019', compiler: 'vc15', ccov: 'OFF' } - - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2019', compiler: 'vc15', ccov: 'OFF' } - - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2019', compiler: 'vc15', ccov: 'OFF' } - - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.1', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.2', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.2', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.3', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.3', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } - #- { php: '8.4', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } - #- { php: '8.4', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } - #- { php: '8.5', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } - #- { php: '8.5', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } + - { php: '7.0', ts: 'nts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2022', compiler: 'vc14', ccov: 'OFF' } + - { php: '7.0', ts: 'ts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2022', compiler: 'vc14', ccov: 'OFF' } + - { php: '7.1', ts: 'nts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2022', compiler: 'vc14', ccov: 'OFF' } + - { php: '7.1', ts: 'ts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2022', compiler: 'vc14', ccov: 'OFF' } + - { php: '7.2', ts: 'nts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } + - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } + - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } + - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } + - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } + - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } + - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.1', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.2', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.2', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.3', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.3', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + #- { php: '8.4', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + #- { php: '8.4', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + #- { php: '8.5', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + #- { php: '8.5', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } steps: - uses: actions/checkout@v4 From 207c810fb59a176b50295aa7aa56b08481af46f0 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 15:58:09 +0100 Subject: [PATCH 18/39] #160 - Fix warning --- parser/lemon.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/parser/lemon.c b/parser/lemon.c index 7562bde9..5d416df4 100644 --- a/parser/lemon.c +++ b/parser/lemon.c @@ -41,7 +41,6 @@ extern int access(const char *path, int mode); #endif char *msort(); -extern void *malloc(); /******** From the file "action.h" *************************************/ struct action *Action_new(); @@ -305,7 +304,7 @@ struct symbol *Symbol_new(); int Symbolcmpp(/* struct symbol **, struct symbol ** */); void Symbol_init(/* void */); int Symbol_insert(/* struct symbol *, char * */); -struct symbol *Symbol_find(/* char * */); +struct symbol *Symbol_find(char *key); /* modern prototype to satisfy C2x */ struct symbol *Symbol_Nth(/* int */); int Symbol_count(/* */); struct symbol **Symbol_arrayof(/* */); @@ -3620,7 +3619,7 @@ int mhflag; /* Output in makeheaders format if true */ } tplt_xfer(lemp->name,in,out,&lineno); - /* Generate code which executes every time a symbol is popped from + /* Generate code which executes when a symbol is popped from ** the stack while processing errors or while destroying the parser. ** (In other words, generate the %destructor actions) */ @@ -3729,7 +3728,7 @@ void ReportHeader(lemp) struct lemon *lemp; { FILE *out, *in; - char *prefix; + char *prefix; char line[LINESIZE]; char pattern[LINESIZE]; int i; @@ -4181,8 +4180,7 @@ char *key; /* Return a pointer to data assigned to the given key. Return NULL ** if no such key. */ -struct symbol *Symbol_find(key) -char *key; +struct symbol *Symbol_find(char *key) { int h; x2node *np; From 99a28f9a709de9c4377165fe2c4147ae63506b65 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 16:02:33 +0100 Subject: [PATCH 19/39] #160 - Add debug command --- .github/actions/build-mac/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/build-mac/action.yml b/.github/actions/build-mac/action.yml index 770222f6..50958684 100644 --- a/.github/actions/build-mac/action.yml +++ b/.github/actions/build-mac/action.yml @@ -37,6 +37,7 @@ runs: - name: Enable Zephir Parser shell: bash run: | + php --ini cp ./modules/zephir_parser.so "$(php -r 'echo ini_get("extension_dir");')/zephir_parser.so" if [ "${{ matrix.ts }}" = "ts" ]; then echo "extension=zephir_parser.so" > /usr/local/etc/php/${{ matrix.php }}-zts/conf.d/ext-zephir_parser.ini From a6185f68511d00d3366aef43ceb89526822fd927 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 16:06:57 +0100 Subject: [PATCH 20/39] #160 - Change PHP path in MacOS (homebrew) --- .github/actions/build-mac/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/build-mac/action.yml b/.github/actions/build-mac/action.yml index 50958684..cf58eb68 100644 --- a/.github/actions/build-mac/action.yml +++ b/.github/actions/build-mac/action.yml @@ -40,7 +40,7 @@ runs: php --ini cp ./modules/zephir_parser.so "$(php -r 'echo ini_get("extension_dir");')/zephir_parser.so" if [ "${{ matrix.ts }}" = "ts" ]; then - echo "extension=zephir_parser.so" > /usr/local/etc/php/${{ matrix.php }}-zts/conf.d/ext-zephir_parser.ini + echo "extension=zephir_parser.so" > /opt/homebrew/etc/php/${{ matrix.php }}-zts/conf.d/ext-zephir_parser.ini else - echo "extension=zephir_parser.so" > /usr/local/etc/php/${{ matrix.php }}/conf.d/ext-zephir_parser.ini + echo "extension=zephir_parser.so" > /opt/homebrew/etc/php/${{ matrix.php }}/conf.d/ext-zephir_parser.ini fi From c3e72d0b984d0c89a15bd7934793ef1765d511f2 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 16:07:52 +0100 Subject: [PATCH 21/39] #160 - Remove pull_request trigger from CI configuration --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a1deae4..4affd486 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,6 @@ on: paths-ignore: - '**.md' - '**.txt' - pull_request: env: RE2C_VERSION: 2.2 From d2032c953c9721b87053f48a8db943e7f18b1e03 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 16:13:12 +0100 Subject: [PATCH 22/39] #160 - Review Windows server Visual studio versions --- .github/workflows/ci.yml | 44 ++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4affd486..2f49f128 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,28 +43,28 @@ jobs: # macOS - { name: macos-clang, os: macos-14, compiler: clang, ccov: 'OFF' } # Windows - - { php: '7.0', ts: 'nts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2022', compiler: 'vc14', ccov: 'OFF' } - - { php: '7.0', ts: 'ts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2022', compiler: 'vc14', ccov: 'OFF' } - - { php: '7.1', ts: 'nts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2022', compiler: 'vc14', ccov: 'OFF' } - - { php: '7.1', ts: 'ts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2022', compiler: 'vc14', ccov: 'OFF' } - - { php: '7.2', ts: 'nts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } - - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } - - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } - - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } - - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } - - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } - - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.1', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.2', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.2', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.3', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.3', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - #- { php: '8.4', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - #- { php: '8.4', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - #- { php: '8.5', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - #- { php: '8.5', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '7.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } + - { php: '7.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } + - { php: '7.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } + - { php: '7.1', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } + - { php: '7.2', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '8.1', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '8.2', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '8.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '8.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '8.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '8.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '8.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '8.5', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '8.5', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } steps: - uses: actions/checkout@v4 From 2fad272dc2e0bcb4edcb1784f5e232ef097e3779 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 16:25:44 +0100 Subject: [PATCH 23/39] #160 - Review Windows server Visual studio versions --- .github/workflows/ci.yml | 44 ++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f49f128..66f0fd21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,28 +43,28 @@ jobs: # macOS - { name: macos-clang, os: macos-14, compiler: clang, ccov: 'OFF' } # Windows - - { php: '7.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } - - { php: '7.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } - - { php: '7.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } - - { php: '7.1', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } - - { php: '7.2', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '8.1', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '8.2', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '8.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '8.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '8.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '8.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '8.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '8.5', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } - - { php: '8.5', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '7.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', ccov: 'OFF' } + - { php: '7.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', ccov: 'OFF' } + - { php: '7.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', ccov: 'OFF' } + - { php: '7.1', ts: 'ts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', ccov: 'OFF' } + - { php: '7.2', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', ccov: 'OFF' } + - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', ccov: 'OFF' } + - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', ccov: 'OFF' } + - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', ccov: 'OFF' } + - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } + - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } + - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.1', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.2', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc17', os: 'windows-2022', compiler: 'vs17', ccov: 'OFF' } + - { php: '8.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc17', os: 'windows-2022', compiler: 'vs17', ccov: 'OFF' } +# - { php: '8.5', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } +# - { php: '8.5', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } steps: - uses: actions/checkout@v4 From 894b6813b6cfb8e3b09add19be915d185ca79aa0 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 16:43:41 +0100 Subject: [PATCH 24/39] #160 - Update MSVC compiler configuration to use version 1.13.0 --- .github/actions/build-win/action.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/actions/build-win/action.yml b/.github/actions/build-win/action.yml index e7faacb1..a0f4e4d1 100644 --- a/.github/actions/build-win/action.yml +++ b/.github/actions/build-win/action.yml @@ -53,20 +53,10 @@ runs: cache_dir: ${{ env.CACHE_DIR }} - name: Configure Developer Command Prompt for MSVC compiler - uses: ilammy/msvc-dev-cmd@v1.10.0 + uses: ilammy/msvc-dev-cmd@v1.13.0 with: arch: ${{ inputs.arch }} - # Workaround for - # PHP Warning: PHP Startup: Can't load module 'C:\tools\php\ext\php_zephir_parser.dll' - # as it's linked with 14.29, but the core is linked with 14.16 in Unknown on line 0 - - name: Configure Developer Command Prompt for MSVC compiler - uses: ilammy/msvc-dev-cmd@v1.10.0 - if: ${{ inputs.php_version }} == '7.4' - with: - arch: ${{ inputs.arch }} - toolset: 14.16 - - name: Getting Details About Installed PHP shell: powershell run: | From 41a920d786b122f3d9d60fb7ad8f88aba84d9652 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 17:00:53 +0100 Subject: [PATCH 25/39] #160 - Add MSVC toolset version input to action.yml and update CI configuration --- .github/actions/build-win/action.yml | 5 ++++ .github/workflows/ci.yml | 42 +++++++++++++--------------- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/.github/actions/build-win/action.yml b/.github/actions/build-win/action.yml index a0f4e4d1..c18a7369 100644 --- a/.github/actions/build-win/action.yml +++ b/.github/actions/build-win/action.yml @@ -16,6 +16,10 @@ inputs: description: 'Target architecture (x64, x86)' required: false default: 'x64' + toolset: + description: 'MSVC toolset version (e.g: 14.0, 15.0, 16.0)' + required: false + default: '' # Use default toolset version for the selected msvc runs: using: 'composite' @@ -56,6 +60,7 @@ runs: uses: ilammy/msvc-dev-cmd@v1.13.0 with: arch: ${{ inputs.arch }} + toolset: ${{ inputs.toolset }} - name: Getting Details About Installed PHP shell: powershell diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66f0fd21..32b0265d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,28 +43,26 @@ jobs: # macOS - { name: macos-clang, os: macos-14, compiler: clang, ccov: 'OFF' } # Windows - - { php: '7.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', ccov: 'OFF' } - - { php: '7.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', ccov: 'OFF' } - - { php: '7.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', ccov: 'OFF' } - - { php: '7.1', ts: 'ts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', ccov: 'OFF' } - - { php: '7.2', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', ccov: 'OFF' } - - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', ccov: 'OFF' } - - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', ccov: 'OFF' } - - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', ccov: 'OFF' } - - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } - - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', ccov: 'OFF' } - - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.1', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.2', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', ccov: 'OFF' } - - { php: '8.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc17', os: 'windows-2022', compiler: 'vs17', ccov: 'OFF' } - - { php: '8.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc17', os: 'windows-2022', compiler: 'vs17', ccov: 'OFF' } -# - { php: '8.5', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } -# - { php: '8.5', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vc16', ccov: 'OFF' } + - { php: '7.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', toolset: '14.16', ccov: 'OFF' } + - { php: '7.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', toolset: '14.16', ccov: 'OFF' } + - { php: '7.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', toolset: '14.16', ccov: 'OFF' } + - { php: '7.1', ts: 'ts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', toolset: '14.16', ccov: 'OFF' } + - { php: '7.2', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } + - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } + - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } + - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } + - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.16', ccov: 'OFF' } + - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.16', ccov: 'OFF' } + - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.16', ccov: 'OFF' } + - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } + - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } + - { php: '8.1', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } + - { php: '8.2', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } + - { php: '8.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } + - { php: '8.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } + - { php: '8.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } + - { php: '8.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc17', os: 'windows-2022', compiler: 'vs17', toolset: '14.44', ccov: 'OFF' } + - { php: '8.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc17', os: 'windows-2022', compiler: 'vs17', toolset: '14.44', ccov: 'OFF' } steps: - uses: actions/checkout@v4 From 0552348f638a47ae8753db1a43b83f83544c73bf Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 17:03:45 +0100 Subject: [PATCH 26/39] #160 - Add configuration files for PHP project and update action.yml --- .github/actions/build-mac/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/build-mac/action.yml b/.github/actions/build-mac/action.yml index cf58eb68..1c9746b8 100644 --- a/.github/actions/build-mac/action.yml +++ b/.github/actions/build-mac/action.yml @@ -38,6 +38,7 @@ runs: shell: bash run: | php --ini + ls -la /opt/homebrew/etc/php cp ./modules/zephir_parser.so "$(php -r 'echo ini_get("extension_dir");')/zephir_parser.so" if [ "${{ matrix.ts }}" = "ts" ]; then echo "extension=zephir_parser.so" > /opt/homebrew/etc/php/${{ matrix.php }}-zts/conf.d/ext-zephir_parser.ini From 79786478c6f3eacd4c65d398914956fc39b5bdff Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 17:07:58 +0100 Subject: [PATCH 27/39] #160 - Add toolset parameter to CI configuration --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32b0265d..e35837f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,6 +108,7 @@ jobs: ts: ${{ matrix.ts }} msvc: ${{ matrix.compiler }} arch: ${{ matrix.arch }} + toolset: ${{ matrix.toolset }} env: CACHE_DIR: 'C:\Downloads' TOOLS_DIR: 'C:\tools' From a60bf82249db33e1fabb28fb015573b1c5f4e62b Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 17:20:08 +0100 Subject: [PATCH 28/39] #160 - Remove toolset version from Windows CI configuration for PHP versions 7.0 to 8.0 --- .github/workflows/ci.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e35837f8..e8826497 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,18 +43,18 @@ jobs: # macOS - { name: macos-clang, os: macos-14, compiler: clang, ccov: 'OFF' } # Windows - - { php: '7.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', toolset: '14.16', ccov: 'OFF' } - - { php: '7.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', toolset: '14.16', ccov: 'OFF' } - - { php: '7.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', toolset: '14.16', ccov: 'OFF' } - - { php: '7.1', ts: 'ts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', toolset: '14.16', ccov: 'OFF' } - - { php: '7.2', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } - - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } - - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } - - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } - - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.16', ccov: 'OFF' } - - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.16', ccov: 'OFF' } - - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.16', ccov: 'OFF' } - - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } + - { php: '7.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', toolset: '', ccov: 'OFF' } + - { php: '7.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', toolset: '', ccov: 'OFF' } + - { php: '7.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', toolset: '', ccov: 'OFF' } + - { php: '7.1', ts: 'ts', arch: 'x64', name: 'windows2022-vc14', os: 'windows-2022', compiler: 'VC14', toolset: '', ccov: 'OFF' } + - { php: '7.2', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } + - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } + - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } + - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } + - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '', ccov: 'OFF' } + - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '', ccov: 'OFF' } + - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '', ccov: 'OFF' } + - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '', ccov: 'OFF' } - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.1', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.2', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } From 5f693ebb0cc6a3e83f496164c0bc8da1e6a81155 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 17:33:55 +0100 Subject: [PATCH 29/39] #160 - Update toolset versions for PHP 7.4 and 8.0 in CI configuration --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8826497..7700616f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,10 +51,10 @@ jobs: - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '', ccov: 'OFF' } - - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '', ccov: 'OFF' } - - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '', ccov: 'OFF' } - - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '', ccov: 'OFF' } + - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.16', ccov: 'OFF' } + - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.16', ccov: 'OFF' } + - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } + - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.1', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.2', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } From aafae87edcf9d061d1bfeb26814a5515e5746776 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 17:35:00 +0100 Subject: [PATCH 30/39] #160 - Add debug output --- .github/actions/build-mac/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/build-mac/action.yml b/.github/actions/build-mac/action.yml index 1c9746b8..84ef9ba1 100644 --- a/.github/actions/build-mac/action.yml +++ b/.github/actions/build-mac/action.yml @@ -38,10 +38,11 @@ runs: shell: bash run: | php --ini - ls -la /opt/homebrew/etc/php cp ./modules/zephir_parser.so "$(php -r 'echo ini_get("extension_dir");')/zephir_parser.so" if [ "${{ matrix.ts }}" = "ts" ]; then + ls -la /opt/homebrew/etc/php/${{ matrix.php }}-zts echo "extension=zephir_parser.so" > /opt/homebrew/etc/php/${{ matrix.php }}-zts/conf.d/ext-zephir_parser.ini else + ls -la /opt/homebrew/etc/php/${{ matrix.php }} echo "extension=zephir_parser.so" > /opt/homebrew/etc/php/${{ matrix.php }}/conf.d/ext-zephir_parser.ini fi From 3af9f92e1d0e18f2ae21d67ee27e4f57938c4d6b Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 18:03:04 +0100 Subject: [PATCH 31/39] #160 - Set default `toolset` for PHP 7.4 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7700616f..d2ade496 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,8 +51,8 @@ jobs: - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.16', ccov: 'OFF' } - - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.16', ccov: 'OFF' } + - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '', ccov: 'OFF' } + - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '', ccov: 'OFF' } - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } From 4aa4f74d74435c1ce7488796acc48d528e3f1d85 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 18:06:53 +0100 Subject: [PATCH 32/39] #160 - Add mkdir for `conf.d` folder if it misses --- .github/actions/build-mac/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/build-mac/action.yml b/.github/actions/build-mac/action.yml index 84ef9ba1..1ff98e49 100644 --- a/.github/actions/build-mac/action.yml +++ b/.github/actions/build-mac/action.yml @@ -40,9 +40,9 @@ runs: php --ini cp ./modules/zephir_parser.so "$(php -r 'echo ini_get("extension_dir");')/zephir_parser.so" if [ "${{ matrix.ts }}" = "ts" ]; then - ls -la /opt/homebrew/etc/php/${{ matrix.php }}-zts + mkdir -p /opt/homebrew/etc/php/${{ matrix.php }}-zts/conf.d echo "extension=zephir_parser.so" > /opt/homebrew/etc/php/${{ matrix.php }}-zts/conf.d/ext-zephir_parser.ini else - ls -la /opt/homebrew/etc/php/${{ matrix.php }} + mkdir -p /opt/homebrew/etc/php/${{ matrix.php }}/conf.d echo "extension=zephir_parser.so" > /opt/homebrew/etc/php/${{ matrix.php }}/conf.d/ext-zephir_parser.ini fi From 2a707b469a58bf0030783c5edaf4df3df181b478 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 18:32:24 +0100 Subject: [PATCH 33/39] #160 - Set default `toolset` and change `compiler` for PHP 7.4 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2ade496..066c31c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,8 +51,8 @@ jobs: - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '', ccov: 'OFF' } - - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '', ccov: 'OFF' } + - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } + - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } From b5727bf8f0536e4d748b9b57dc7f21ddc3a18e9f Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 18:53:11 +0100 Subject: [PATCH 34/39] #160 - Set default `toolset` and change `compiler` for PHP 7.4 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 066c31c1..7cc4ba0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,8 +51,8 @@ jobs: - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } - - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } + - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } + - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } From 33e1f31adca5e4e544a585d2066211baf4325c3f Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 19:12:10 +0100 Subject: [PATCH 35/39] #160 - Update compiler to 'vc15' for PHP 7.4 in CI configuration --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cc4ba0d..d2ade496 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,8 +51,8 @@ jobs: - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } + - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '', ccov: 'OFF' } + - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '', ccov: 'OFF' } - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } From 582a68fd97c3606917fee88137655765aa08fb34 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 20:08:07 +0100 Subject: [PATCH 36/39] #160 - Set default `toolset` and change `compiler` for PHP 7.4 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2ade496..7700616f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,8 +51,8 @@ jobs: - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '', ccov: 'OFF' } - - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '', ccov: 'OFF' } + - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.16', ccov: 'OFF' } + - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.16', ccov: 'OFF' } - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } From 16820aeb93f502fcb190973953d7feb51c8aead3 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 20:35:11 +0100 Subject: [PATCH 37/39] #160 - Set `toolset` `14.29` for PHP7.4 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7700616f..0e719990 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,8 +51,8 @@ jobs: - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.16', ccov: 'OFF' } - - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.16', ccov: 'OFF' } + - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.29', ccov: 'OFF' } + - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.29', ccov: 'OFF' } - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } From 37fb8f50e16dc024ccf73bdb6c7cfa820e5bec1a Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 21:42:19 +0100 Subject: [PATCH 38/39] #160 - Set `toolset` `14.16` for PHP7.4 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e719990..066c31c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,8 +51,8 @@ jobs: - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.29', ccov: 'OFF' } - - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'vc15', toolset: '14.29', ccov: 'OFF' } + - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } + - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } From 901a60db742f082c10c43364998c70e8d6e48816 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev <1695147@gmail.com> Date: Sat, 27 Sep 2025 22:01:17 +0100 Subject: [PATCH 39/39] #160 - Disable PHP7.4 in Windows --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 066c31c1..73c88669 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,8 +51,12 @@ jobs: - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '', ccov: 'OFF' } - - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } - - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } + + # MSVC toolsets 14.0 and 14.16 can no longer be installed on Windows runners + # See https://github.com/actions/runner-images/issues/12764 + #- { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } + #- { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2022-vc15', os: 'windows-2022', compiler: 'VC15', toolset: '14.16', ccov: 'OFF' } + - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' } - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2022-vc16', os: 'windows-2022', compiler: 'vs16', toolset: '14.29', ccov: 'OFF' }