0
0
mirror of https://github.com/phpv8/v8js.git synced 2025-01-03 11:21:51 +00:00

(appveyor) supply v8 assets .zip name via env

This commit is contained in:
Stefan Siegl 2017-03-05 20:51:11 +01:00
parent e3a5b915cb
commit e631f25f01

View File

@ -3,10 +3,12 @@ environment:
- BUILD_PLATFORM: x86 - BUILD_PLATFORM: x86
ARTIFACT_NAME: v8js_vc14_php7_ts.zip ARTIFACT_NAME: v8js_vc14_php7_ts.zip
OUTDIR: Release_TS OUTDIR: Release_TS
V8_ASSETS: win32build.vc14.zip
- BUILD_PLATFORM: x86 - BUILD_PLATFORM: x86
ARTIFACT_NAME: v8js_vc14_php7_nts.zip ARTIFACT_NAME: v8js_vc14_php7_nts.zip
OUTDIR: Release OUTDIR: Release
CONFIGURE_EXTRA: --disable-zts CONFIGURE_EXTRA: --disable-zts
V8_ASSETS: win32build.vc14.zip
PHP_VERSION: 7.0.16 PHP_VERSION: 7.0.16
PHP_SDK: c:\projects\php-sdk PHP_SDK: c:\projects\php-sdk
@ -26,8 +28,8 @@ install:
- cd v8js-ci\vc14\x86 - cd v8js-ci\vc14\x86
- md deps - md deps
- cd deps - cd deps
- curl -fSL -o win32build.vc14.zip 'https://s3.amazonaws.com/win-phpv8/win32build.vc14.zip' - curl -fSL -o %V8_ASSETS% 'https://s3.amazonaws.com/win-phpv8/%V8_ASSETS%'
- 7z.exe x win32build.vc14.zip - 7z.exe x %V8_ASSETS%
- cd .. - cd ..
- curl -fSL -o 'php-%PHP_VERSION%.tar.gz' 'http://us1.php.net/distributions/php-%PHP_VERSION%.tar.gz' - curl -fSL -o 'php-%PHP_VERSION%.tar.gz' 'http://us1.php.net/distributions/php-%PHP_VERSION%.tar.gz'
- ren php php-%PHP_VERSION% - ren php php-%PHP_VERSION%