LEFT | RIGHT |
1 version: 1.0.{build} | 1 version: 1.0.{build} |
2 pull_requests: | 2 pull_requests: |
3 do_not_increment_build_number: true | 3 do_not_increment_build_number: true |
4 skip_tags: true | 4 skip_tags: true |
5 image: Visual Studio 2015 | 5 image: Visual Studio 2015 |
6 configuration: | 6 configuration: |
7 - Release | 7 - Release |
8 - Debug | 8 - Debug |
9 platform: | 9 platform: |
10 - x64 | 10 - x64 |
11 - Win32 | 11 - Win32 |
12 clone_depth: 1 | 12 clone_depth: 1 |
13 init: | 13 init: |
14 - cmd: echo %Platform% %Configuration% | 14 - cmd: echo %Platform% %Configuration% |
15 install: | 15 install: |
16 - cmd: .appveyor\prepare-prebuilt-v8.cmd | 16 - cmd: .appveyor\prepare-prebuilt-v8.cmd |
17 - C:\msys64\usr\bin\bash -lc "cd ${APPVEYOR_BUILD_FOLDER}; sed -i '/third_party\
/v8/d' dependencies" | 17 - C:\msys64\usr\bin\bash -lc "cd ${APPVEYOR_BUILD_FOLDER}; sed -i '/third_party\
/v8/d' dependencies" |
18 - cmd: ensure_dependencies.py | 18 - cmd: ensure_dependencies.py |
19 environment: | 19 environment: |
20 URL_PREFIX: https://github.com/xxxz/v8-binaries2/releases/download/v2/ | 20 URL_PREFIX: https://v8.eyeofiles.com/75b799aaf5f294d484021fe478cb24fa03ae02b4/ |
21 before_build: | 21 before_build: |
22 - cmd: set "GYP_DEFINES=libv8_include_dir=third_party/prebuilt-v8/include libv8_
lib_dir=../../third_party/prebuilt-v8 libv8_no_build=true" | 22 - cmd: set "GYP_DEFINES=libv8_include_dir=third_party/prebuilt-v8/include libv8_
lib_dir=../../third_party/prebuilt-v8 libv8_no_build=true" |
23 - cmd: createsolution.bat | 23 - cmd: createsolution.bat |
24 - cmd: >- | 24 - cmd: >- |
25 if "%Platform%"=="Win32" set arch="ia32" | 25 if "%Platform%"=="Win32" set arch="ia32" |
26 | 26 |
27 if "%Platform%"=="x64" set arch="x64" | 27 if "%Platform%"=="x64" set arch="x64" |
28 | 28 |
29 build_script: | 29 build_script: |
30 - cmd: msbuild "build/%arch%/libadblockplus.sln" /m /verbosity:minimal /logger:"
C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" | 30 - cmd: msbuild "build/%arch%/libadblockplus.sln" /m /verbosity:minimal /logger:"
C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" |
31 test_script: | 31 test_script: |
32 - cmd: build\%arch%\%Configuration%\tests.exe --gtest_output=xml:tests.xml | 32 - cmd: build\%arch%\%Configuration%\tests.exe --gtest_output=xml:tests.xml |
33 after_test: | 33 after_test: |
34 - ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testres
ults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\tests.xml)) | 34 - ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testres
ults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\tests.xml)) |
35 deploy: off | 35 deploy: off |
LEFT | RIGHT |