Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
92 lines (80 sloc) 2.37 KB
version: 4.0.0-{build}
environment:
matrix:
- PHP_MINOR: 7.2
VC_VERSION: 15
BUILD_TYPE: Win32
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- PHP_MINOR: 7.2
VC_VERSION: 15
BUILD_TYPE: nts-Win32
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
PHP_PATH: C:\Projects\php
PHP_SDK_PATH: C:\Projects\php-sdk
PHP_DEVPACK: C:\Projects\php-devpack
TEST_PHP_EXECUTABLE: C:\Projects\php\php.exe
PHP_SDK_VERSION: 2.0.7
PACKAGE_PREFIX: phalcon
EXTENSION_NAME: phalcon
EXTENSION_FILE: php_phalcon.dll
NO_INTERACTION: 1
REPORT_EXIT_STATUS: 1
COMPOSER_NO_INTERACTION: 1
PARSER_VERSION: 1.1.4
PARSER_RELEASE: 418
PSR_PECL_VERSION: 0.6.1
ZEPHIR_VERSION: 0.11.8
matrix:
fast_finish: true
cache:
- 'C:\Downloads -> appveyor.yml'
- 'vendor -> composer.json'
- 'composer.phar -> composer.json'
clone_depth: 1
clone_folder: c:\projects\phalcon
platform:
- x86
- x64
branches:
only:
- master
- 4.0.x
install:
- ps: Import-Module .\tests\_ci\appveyor.psm1
- ps: AppendSessionPath
- ps: SetupPhpVersionString
- ps: EnsureRequiredDirectoriesPresent
- ps: Ensure7ZipIsInstalled
- ps: InstallSdk
- ps: InstallPhp
- ps: InstallPhpDevPack
- ps: InstallPsrExtension
- ps: InstallParser
- ps: InstallZephir
- ps: TuneUpPhp
build_script:
- ps: InitializeBuildVars
- ps: InitializeReleaseVars
- ps: InstallBuildDependencies
- '"%VSCOMNTOOLS%\VsDevCmd" %PLATFORM%'
- '"%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %ARCH%'
- '%PHP_SDK_PATH%\bin\phpsdk_setvars'
- '%APPVEYOR_BUILD_FOLDER%\zephir.bat generate --backend=ZendEngine3 -Wnonexistent-function -Wnonexistent-class -Wunused-variable'
- 'cd %APPVEYOR_BUILD_FOLDER%\build'
- 'php gen-build.php'
- 'cd %APPVEYOR_BUILD_FOLDER%\build\php7\safe'
- '%PHP_DEVPACK%\phpize.bat'
- 'configure --with-prefix=%PHP_PATH% --with-php-build=%PHP_DEVPACK% --disable-all --enable-phalcon'
- nmake 2> compile-errors.log 1> compile.log
- ps: EnableExtension
after_build:
- ps: PrepareReleasePackage
artifacts:
- path: '.\$(RELEASE_ZIPBALL).zip'
type: zip
name: Phalcon
on_failure :
- ps: PrintLogs "${Env:APPVEYOR_BUILD_FOLDER}\build\php7\safe"
- ps: PrintVars
- ps: PrintDirectoriesContent
- ps: PrintPhpInfo