-
Notifications
You must be signed in to change notification settings - Fork 59
/
appveyor.yml
60 lines (52 loc) · 1.96 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: 1.0.{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true
clone_depth: 1
init:
- cmd: echo %Platform% %Configuration%
install:
- sh: sudo apt-get update -qy
- sh: sudo apt-get install -qy clang libc++-dev libc++abi-dev
- cmd: .appveyor\prepare-prebuilt-v8.cmd
- sh: make get-prebuilt-v8
- cmd: ensure_dependencies.py
- sh: python3 ensure_dependencies.py
environment:
global:
URL_PREFIX: https://v8.eyeofiles.com/v8-4d72a9931a125d21901d25d67896f0e40105bd16/
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: ubuntu1804
Configuration: Debug
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
platform: x64
Configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
platform: x64
Configuration: Debug
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
platform: Win32
Configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
platform: Win32
Configuration: Debug
matrix:
exclude:
# Excluded due build errors on Windows 32 build, see: https://eyeogmbh.atlassian.net/browse/DP-12
- platform: Win32
before_build:
- cmd: set "GYP_DEFINES=libv8_include_dir=third_party/prebuilt-v8/include libv8_lib_dir=../../third_party/prebuilt-v8 libv8_show_warnings=true"
- cmd: createsolution.bat
- cmd: >-
if "%Platform%"=="Win32" set arch="ia32"
if "%Platform%"=="x64" set arch="x64"
build_script:
- cmd: msbuild "build/%arch%/tests.sln" /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- cmd: msbuild "build/%arch%/abpshell.sln" /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- sh: make
test_script:
- cmd: build\%arch%\%Configuration%\tests.exe --gtest_output=xml:tests.xml
- sh: ./build/out/Debug/tests --gtest_output=xml:tests.xml
after_test:
- ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\tests.xml))
deploy: off