@@ -2,21 +2,44 @@ version: 1.0.{build}
22pull_requests :
33 do_not_increment_build_number : true
44skip_tags : true
5- image : Visual Studio 2017
6- configuration :
7- - Release
8- - Debug
9- platform :
10- - x64
11- - Win32
5+
126clone_depth : 1
7+
138init :
149- cmd : echo %Platform% %Configuration%
10+
1511install :
12+ - sh : sudo apt-get update -qy
13+ - sh : sudo apt-get install -qy clang libc++-dev libc++abi-dev
14+ # hack to figure out the absence of __cxxabi_config.h, required by gtest
15+ # it's fixed in newer versions of libc++abi-dev
16+ # https://ubuntu.pkgs.org/16.04/ubuntu-universe-amd64/libc++abi-dev_3.7.0-1_amd64.deb.html
17+ # https://ubuntu.pkgs.org/18.04/ubuntu-universe-amd64/libc++abi-dev_6.0-2_amd64.deb.html
18+ - sh : sudo ln -s /usr/include/libcxxabi/__cxxabi_config.h /usr/include/c++/v1/__cxxabi_config.h
1619- cmd : .appveyor\prepare-prebuilt-v8.cmd
20+ - sh : make get-prebuilt-v8
1721- cmd : ensure_dependencies.py
22+ - sh : python ensure_dependencies.py
23+
1824environment :
19- URL_PREFIX : https://v8.eyeofiles.com/v8-4fc9a2fe7f8a7ef1e7966185b39b3b541792669a/
25+ global :
26+ URL_PREFIX : https://v8.eyeofiles.com/v8-4fc9a2fe7f8a7ef1e7966185b39b3b541792669a/
27+ matrix :
28+ - APPVEYOR_BUILD_WORKER_IMAGE : ubuntu
29+ Configuration : Debug
30+ - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2017
31+ platform : x64
32+ Configuration : Release
33+ - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2017
34+ platform : x64
35+ Configuration : Debug
36+ - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2017
37+ platform : Win32
38+ Configuration : Release
39+ - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2017
40+ platform : Win32
41+ Configuration : Debug
42+
2043before_build :
2144- cmd : set "GYP_DEFINES=libv8_include_dir=third_party/prebuilt-v8/include libv8_lib_dir=../../third_party/prebuilt-v8 libv8_show_warnings=true"
2245- cmd : createsolution.bat
@@ -27,8 +50,10 @@ before_build:
2750
2851build_script :
2952- cmd : msbuild "build/%arch%/libadblockplus.sln" /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
53+ - sh : make
3054test_script :
3155- cmd : build\%arch%\%Configuration%\tests.exe --gtest_output=xml:tests.xml
56+ - sh : ./build/out/Debug/tests --gtest_output=xml:tests.xml
3257after_test :
3358- ps : (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\tests.xml))
3459deploy : off
0 commit comments