Skip to content

1.3.8 #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 167 commits into from
Sep 8, 2021
Merged

1.3.8 #115

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
167 commits
Select commit Hold shift + click to select a range
fabc7b9
#110 - Add Windows workflow
Jeckerson Aug 20, 2021
28fc5a7
#110 - Add PHP 7.2 for Linux and MacOS builds
Jeckerson Aug 20, 2021
e84d8a2
#110 - Update matrix in Win builds
Jeckerson Aug 20, 2021
fe2b009
#110 - Update matrix in Win builds
Jeckerson Aug 20, 2021
3dc986e
#110 - Update matrix in Win builds
Jeckerson Aug 20, 2021
e17430d
#110 - Update matrix in Win builds
Jeckerson Aug 20, 2021
61f8e79
#110 - Partial implementation of Windows CI
Jeckerson Aug 20, 2021
f328620
#110 - Add `InstallPhpSdk` function
Jeckerson Aug 20, 2021
f8d785f
#110 - Add PHP_* env variables
Jeckerson Aug 20, 2021
dc08f58
#110 - Temporary disable on pull_request
Jeckerson Aug 20, 2021
fe13aa6
#110 - Add `DownloadFile` function
Jeckerson Aug 20, 2021
81f1442
#110 - Temporary disable linux and macos builds
Jeckerson Aug 20, 2021
d1ad6c0
#110 - Add `Expand-Item7zip` function
Jeckerson Aug 20, 2021
dd684d3
#110 - Add `InstallPhpDevPack` function
Jeckerson Aug 20, 2021
18c01b2
#110 - Add missing functions
Jeckerson Aug 20, 2021
14a1cff
#110 - Fix build step
Jeckerson Aug 20, 2021
4a76e16
#110 - Fix syntax
Jeckerson Aug 20, 2021
114d0ca
#110 - Fix build step
Jeckerson Aug 20, 2021
149d701
#110 - Fix build step
Jeckerson Aug 20, 2021
260962a
#110 - Fix build step
Jeckerson Aug 20, 2021
e462181
#110 - Fix build step
Jeckerson Aug 20, 2021
e1ba3a6
#110 - Add output of release path
Jeckerson Aug 20, 2021
199692e
#110 - Fix RELEASE_PATH value
Jeckerson Aug 20, 2021
7c65a12
#110 - Add directory list
Jeckerson Aug 20, 2021
e2e58ac
#110 - Separate build and compilation steps
Jeckerson Aug 20, 2021
48f82b8
#110 - Add step 'Invoke PHP SDK'
Jeckerson Aug 20, 2021
165d4ce
#110 - Adjust step 'Invoke PHP SDK'
Jeckerson Aug 20, 2021
21f0f26
#110 - Fix php-sdk filename
Jeckerson Aug 20, 2021
0fd862a
#110 - Add 'Invoke PHP SDK Variables Setter' step
Jeckerson Aug 20, 2021
655cc73
#110 - Fix VC prefix in name
Jeckerson Aug 20, 2021
05f1162
#110 - Change to `buildconf`
Jeckerson Aug 20, 2021
655ab59
#110 - Change to full path `phpize`
Jeckerson Aug 20, 2021
93dd9cd
#110 - Merge `configure` with `phpize`
Jeckerson Aug 20, 2021
044958d
#110 - Disable 'Invoke PHP SDK Variables Setter' step
Jeckerson Aug 20, 2021
5f338a6
#110 - Remove `cd parser` command
Jeckerson Aug 21, 2021
b4667f1
#110 - Add installation of 'bison' package
Jeckerson Aug 21, 2021
72c95fd
#110 - Enable and change order of 'Invoke PHP SDK Variables Setter' step
Jeckerson Aug 21, 2021
53e0962
#110 - Remove installation of 're2c' from choco
Jeckerson Aug 21, 2021
c653f19
#110 - Adapt parser parse step
Jeckerson Aug 21, 2021
aff91c2
#110 - Add 'Install CL' step
Jeckerson Aug 21, 2021
1f0e71b
#110 - Update configure step
Jeckerson Aug 21, 2021
720efcc
#110 - Merge steps due env variables reset
Jeckerson Aug 21, 2021
e395fbd
#110 - Update build step
Jeckerson Aug 21, 2021
21263f9
#110 - Add missing command
Jeckerson Aug 21, 2021
ab8c124
#110 - Revert phpize path
Jeckerson Aug 21, 2021
47f15fa
#110 - Add `PrepareReleasePackage` function
Jeckerson Aug 21, 2021
ee9bf3e
#110 - Add 'PrepareReleasePackage' step
Jeckerson Aug 21, 2021
0bf2e8a
#110 - Fix latest steps
Jeckerson Aug 21, 2021
a7de95e
#110 - Fix release path
Jeckerson Aug 21, 2021
f22648b
#110 - Add `AppendSessionPath` function
Jeckerson Aug 21, 2021
f01c916
#110 - Update steps
Jeckerson Aug 21, 2021
b929036
#110 - Fix path
Jeckerson Aug 21, 2021
1e31059
#110 - Update `InitializeReleaseVars` function
Jeckerson Aug 21, 2021
fc91a2d
#110 - Remove usage of `RELEASE_FOLDER` env
Jeckerson Aug 21, 2021
e579aac
#110 - Fix value of `RELEASE_DLL_PATH` env
Jeckerson Aug 21, 2021
9c5ab8b
#110 - Add debug output step
Jeckerson Aug 21, 2021
500dd23
#110 - Add debug output step
Jeckerson Aug 21, 2021
c98cb68
#110 - Add debug output step
Jeckerson Aug 21, 2021
a067466
#110 - Add debug output step
Jeckerson Aug 21, 2021
ac12764
#110 - Add debug output step
Jeckerson Aug 21, 2021
97d2274
#110 - Add debug output step
Jeckerson Aug 21, 2021
c045998
#110 - Add debug output step
Jeckerson Aug 21, 2021
510fdf6
#110 - Update logs path
Jeckerson Aug 21, 2021
ab8886e
#110 - Add debug output step
Jeckerson Aug 21, 2021
71aed03
#110 - Update `configure` flags
Jeckerson Aug 21, 2021
f129298
#110 - Update `configure` flags
Jeckerson Aug 21, 2021
06c8c2d
#110 - Separate build steps
Jeckerson Aug 21, 2021
b286f5d
#110 - Remove `--enable-zephir-parser=shared` option
Jeckerson Aug 21, 2021
68e577d
#110 - Remove all options
Jeckerson Aug 21, 2021
3aa5393
#110 - Change to `static`
Jeckerson Aug 21, 2021
4fa27cf
#110 - Update dir step
Jeckerson Aug 21, 2021
3076856
#110 - Add Windows dockerfile
Jeckerson Aug 22, 2021
dc073a0
#110 - Remove AppVeyor.psm1 file
Jeckerson Aug 23, 2021
10c6487
Add arch for MSVC compiler setup
AlexNDRmac Aug 29, 2021
00bde87
Add codegen arch for configure
AlexNDRmac Aug 29, 2021
1256e3d
Fix codegen arch configure options
AlexNDRmac Aug 29, 2021
f39922c
Set shared for module, write compiler errors to file
AlexNDRmac Aug 29, 2021
3e39073
Set toolset for CL, enable fail artifacts
AlexNDRmac Aug 29, 2021
df34a29
Use bat file for Lemon phase
AlexNDRmac Sep 4, 2021
a551f76
Store parser for debug
AlexNDRmac Sep 4, 2021
1d2d4d2
Fix echo comand for parser first string
AlexNDRmac Sep 4, 2021
906a151
Fix batch 1
AlexNDRmac Sep 4, 2021
ca2bbb6
Fix batch 2
AlexNDRmac Sep 4, 2021
5f4f0eb
Fix batch 3
AlexNDRmac Sep 4, 2021
ecd7369
Rewrite batch to powershell
AlexNDRmac Sep 4, 2021
71c0a80
Fix file overwriting
AlexNDRmac Sep 4, 2021
b62510e
Remove raw lemon cmd from workflow
AlexNDRmac Sep 4, 2021
f2ee03d
Fix release path and artifact name
AlexNDRmac Sep 5, 2021
c326154
Fix workflow steps
AlexNDRmac Sep 5, 2021
bd49834
Fix path to release folder
AlexNDRmac Sep 5, 2021
d72b009
Add release folder to ENV, initialize ENV vars before use it
AlexNDRmac Sep 5, 2021
792cd50
Fix enable php extension step
AlexNDRmac Sep 5, 2021
79dedd6
Split copy ext and enable step
AlexNDRmac Sep 5, 2021
c664e0b
Fix dll path variable
AlexNDRmac Sep 5, 2021
fbbe01e
Fix path for enable php ext
AlexNDRmac Sep 5, 2021
2e48dfa
Check if extension exists
AlexNDRmac Sep 5, 2021
2c86a81
Add release folders to debug
AlexNDRmac Sep 5, 2021
cb567f0
Remove php ext dir from debug
AlexNDRmac Sep 5, 2021
027f072
Disable some builds to speedup debug
AlexNDRmac Sep 5, 2021
08a5efb
Add debug for extension
AlexNDRmac Sep 5, 2021
5958b8a
Move extension test to psm1
AlexNDRmac Sep 5, 2021
14c6896
Fix extension enabler script
AlexNDRmac Sep 5, 2021
a54de01
Run tests
AlexNDRmac Sep 5, 2021
4b132f0
Remove not necessary steps
AlexNDRmac Sep 5, 2021
923c31d
Init release vars in the beginnings
AlexNDRmac Sep 5, 2021
2842456
Change copy cmd for powershell
AlexNDRmac Sep 5, 2021
6922376
Enable extension info step
AlexNDRmac Sep 5, 2021
911502c
Use handle instead of ext name
AlexNDRmac Sep 5, 2021
81d0342
Try to use ext version for enabler
AlexNDRmac Sep 5, 2021
08337e7
Try to dynamically load extension
AlexNDRmac Sep 5, 2021
90fc424
Enable ext manually
AlexNDRmac Sep 5, 2021
696a97c
Copy ext dll manually
AlexNDRmac Sep 5, 2021
c7be3c4
Use cache for download artifacts
AlexNDRmac Sep 6, 2021
25328da
Improve readability
AlexNDRmac Sep 6, 2021
25c42a3
Try to disable setup php action
AlexNDRmac Sep 6, 2021
2ff6562
Refactor PHP SDK init steps
AlexNDRmac Sep 6, 2021
c54d174
Disable tests for x86 arch
AlexNDRmac Sep 6, 2021
17694d1
Change parser cmd
AlexNDRmac Sep 6, 2021
5f57d3d
Change steps
AlexNDRmac Sep 6, 2021
28ad4a7
Revert command for Lemon
AlexNDRmac Sep 6, 2021
894dae6
Debug psm1
AlexNDRmac Sep 6, 2021
18a6234
Debug psm1
AlexNDRmac Sep 6, 2021
6a15c54
Debug psm1
AlexNDRmac Sep 6, 2021
fe1a416
Store parser release assets
AlexNDRmac Sep 6, 2021
02ae524
Fix Env vars for workflow
AlexNDRmac Sep 6, 2021
344cda3
Fix zip file name
AlexNDRmac Sep 6, 2021
ac19695
Disable progress for Choco, fix commit hash
AlexNDRmac Sep 6, 2021
114ab92
Enamble full matrix builds
AlexNDRmac Sep 6, 2021
cfe8959
Setup latest MSVC compiler version
AlexNDRmac Sep 6, 2021
84c51f0
Remove minor ver from toolset
AlexNDRmac Sep 6, 2021
b61afc7
Add tests to debug artifacts
AlexNDRmac Sep 7, 2021
7cee49b
Split configure and make
AlexNDRmac Sep 7, 2021
28782e8
Use win2019 for vc15
AlexNDRmac Sep 7, 2021
cef541f
Try alternative way for vsdev cmd
AlexNDRmac Sep 7, 2021
00a6c39
Try to not set toolset via action
AlexNDRmac Sep 7, 2021
8e92755
Try combine for include for matrix :)
AlexNDRmac Sep 7, 2021
3a0fb13
Anothr try to combine includes
AlexNDRmac Sep 7, 2021
1615100
Skip Win specific tests
AlexNDRmac Sep 7, 2021
7386e16
Use lowercase for artifact name
AlexNDRmac Sep 7, 2021
6dd787f
Merge pull request #113 from zephir-lang/110-win-builds-fixes
Jeckerson Sep 7, 2021
8ee7d58
#110 - Add PHP 8.1
Jeckerson Sep 7, 2021
bee5d15
Revert "#110 - Add PHP 8.1"
Jeckerson Sep 7, 2021
2590e36
Enable Linux and MacOS builds
Jeckerson Sep 7, 2021
a8af67f
Merge pull request #111 from zephir-lang/#110-win-builds
Jeckerson Sep 7, 2021
45a2cbe
Refactor Ubuntu and macOS builds
AlexNDRmac Sep 7, 2021
730445b
Load parser ext dynamically for test
AlexNDRmac Sep 7, 2021
62d197d
Enable skip CI for selected OS
AlexNDRmac Sep 7, 2021
f622dd7
Tets Windows build skip [win skip]
AlexNDRmac Sep 7, 2021
33d0604
Fix env var syntax [win skip]
AlexNDRmac Sep 7, 2021
513074c
Fix re2c chache path [win skip]
AlexNDRmac Sep 7, 2021
b20c9fd
Disable workflows
AlexNDRmac Sep 7, 2021
2fde5fa
Add windows builds flow
AlexNDRmac Sep 7, 2021
44871dd
Add unix flow
AlexNDRmac Sep 7, 2021
ed2ca23
Fix naming for artifacts
AlexNDRmac Sep 7, 2021
4ecea86
Add release flow
AlexNDRmac Sep 7, 2021
117dad9
Fix check release assets step
AlexNDRmac Sep 7, 2021
f395ecf
Fix matrics args
AlexNDRmac Sep 7, 2021
d09cd4e
Fix runner os name
AlexNDRmac Sep 7, 2021
e61c344
Updates readme
AlexNDRmac Sep 7, 2021
063bc11
Delete old workflows, skip builds for md files [ci skip]
AlexNDRmac Sep 7, 2021
fef7f53
Fix release notes parser
AlexNDRmac Sep 8, 2021
c564c29
Fix macos build artifatcs attach
AlexNDRmac Sep 8, 2021
d99c34e
Fix release action
AlexNDRmac Sep 8, 2021
3df671a
Merge pull request #114 from zephir-lang/ci-workfow-improve
Jeckerson Sep 8, 2021
0d18970
Remove .appveyor.yml
Jeckerson Sep 8, 2021
87bc0c2
Update CHANGELOG.md
Jeckerson Sep 8, 2021
d1e65f7
Bump Zephir Parser version to `1.3.8`
Jeckerson Sep 8, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
159 changes: 0 additions & 159 deletions .appveyor.yml

This file was deleted.

75 changes: 0 additions & 75 deletions .ci/AppVeyor.psm1

This file was deleted.

19 changes: 0 additions & 19 deletions .ci/build-win32.bat

This file was deleted.

45 changes: 45 additions & 0 deletions .ci/lemon-parser.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This file is part of the Zephir Parser.
#
# (c) Zephir Team <team@zephir-lang.com>
#
# For the full copyright and license information, please view
# the LICENSE file that was distributed with this source code.

Write-Output "-- Compiling Lemon parser..."
$LemonSrc = Join-Path -Path './parser' -ChildPath 'lemon.c'
$LemonBin = Join-Path -Path './parser' -ChildPath 'lemon.exe'

if ($IsWindows) {
& cl /Fe${LemonExe} ${LemonSrc}
}
else {
$LemonBin = Join-Path -Path './parser' -ChildPath 'lemon'
& gcc ${LemonSrc} -o ${LemonBin}
}
& ${LemonBin} -x

Write-Output "-- Cleanup initial file state..."

$AutoFiles = "./parser/zephir.c",
"./parser/zephir.h",
"./parser/parser.c",
"./parser/scanner.c"

foreach ($GeneratedFile in $AutoFiles) {
if (Test-Path -Path $GeneratedFile) {
Remove-Item $GeneratedFile
}
}

Write-Output "-- Run re2c..."
& re2c -o (Join-Path -Path './parser' -ChildPath 'scanner.c') (Join-Path -Path './parser' -ChildPath 'scanner.re')

Write-Output "-- Generating zephir.c file with lemon parser..."
& ${LemonBin} -s (Join-Path -Path './parser' -ChildPath 'zephir.lemon')

Write-Output "-- Generating parser.c file..."
$ParserC = Join-Path -Path './parser' -ChildPath 'parser.c'
$ZephirC = Join-Path -Path './parser' -ChildPath 'zephir.c'
$BaseC = Join-Path -Path './parser' -ChildPath 'base.c'
Set-Content -Path ${ParserC} -Value '#include <php.h>'
Get-Content ${ZephirC}, ${BaseC} | Add-Content ${ParserC}
35 changes: 35 additions & 0 deletions .ci/release-notes.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/usr/bin/env bash

# This file is part of the Zephir Parser.
#
# (c) Zephir Team <team@zephir-lang.com>
#
# For the full copyright and license information, please view
# the LICENSE file that was distributed with this source code.


# -e Exit immediately if a command exits with a non-zero status.
# -u Treat unset variables as an error when substituting.

set -eu
set -o pipefail

# Get Release notes for the latest release from CHANGELOG.md
# How to use:
# release-notes.sh CHANGELOG.md

startline=$(cat "$1" | grep -nE '^### ' | head -n 1 | cut -d ":" -f 1)
finishline=$(($(cat "$1" | grep -nE '^## \[[0-9]+' | head -n 2 | tail -n 1 | cut -d ":" -f 1) - 1))
changelog=$(sed -n "${startline},${finishline}p" "$1");


: "${GITHUB_ACTIONS:=0}"

if [ "$GITHUB_ACTIONS" = "true" ]
then
changelog="${changelog//'%'/'%25'}"
changelog="${changelog//$'\n'/'%0A'}"
changelog="${changelog//$'\r'/'%0D'}"
fi

echo "${changelog}"
Loading