-
-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2364 from zephir-lang/development
0.16.0
- Loading branch information
Showing
190 changed files
with
2,961 additions
and
4,070 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ runs: | |
} | ||
Write-Output "::endgroup::" | ||
- name: Setup PHP SDK tool kit | ||
- name: Setup PHP SDK Tool Kit | ||
uses: zephir-lang/setup-php-sdk@v1 | ||
with: | ||
php_version: ${{ inputs.php_version }} | ||
|
@@ -73,6 +73,16 @@ runs: | |
with: | ||
arch: ${{ inputs.arch }} | ||
|
||
# Workaround for Windows-2019 and PHP 7.4 with old msvc version | ||
# PHP Warning: PHP Startup: Can't load module 'C:\tools\php\ext\php_stub.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 | ||
if: inputs.php_version == '7.4' | ||
uses: ilammy/[email protected] | ||
with: | ||
arch: ${{ inputs.arch }} | ||
toolset: 14.16 | ||
|
||
- name: Generate C code | ||
shell: powershell | ||
run: | | ||
|
@@ -88,10 +98,13 @@ runs: | |
- name: Configure | ||
shell: powershell | ||
working-directory: ext | ||
env: | ||
CFLAGS: ${{ inputs.cflags }} | ||
CXXFLAGS: ${{ inputs.cflags }} | ||
LDFLAGS: ${{ inputs.ldflags }} | ||
run: | | ||
Write-Output "::group::Configure" | ||
.\configure.bat --enable-stub --with-prefix=${{ env.PHP_ROOT }} ` | ||
CFLAGS="${{ inputs.cflags }}" CXXFLAGS="${{ inputs.cflags }}" LDFLAGS="${{ inputs.ldflags }}" | ||
.\configure.bat --enable-stub --with-prefix=${{ env.PHP_ROOT }} | ||
Write-Output "::endgroup::" | ||
- name: Zephir compile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.