forked from polserver/polserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
47 lines (40 loc) · 1.3 KB
/
appveyor.yml
File metadata and controls
47 lines (40 loc) · 1.3 KB
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
version: 100.{build}
clone_depth: 1
clone_folder: c:\projects\pol_testing
cache:
- lib/curl-7.57.0
image: Visual Studio 2017
platform: x64
configuration: Release
build:
# parallel: true
# project: bin-build/polserver.sln
verbosity: minimal
init:
- git config --global core.autocrlf true
install:
- cd bin-build
# - cmake .. -G "Visual Studio 15 2017 Win64"
- call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat"
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release
build_script:
- cmake --build . --config Release -- -j 2
test_script:
#- c:\\Python34\\python.exe performtests.py ..\\..\\bin\\Release\\ecompile.exe ..\\..\\bin\\Release\\runecl.exe -n 5 -q
#- c:\\Python34\\python.exe performtests.py ..\\..\\bin\\ecompile.exe ..\\..\\bin\\runecl.exe -n 5 -q
- ctest -j 2 --output-on-failure --repeat-until-fail 5
- cd ..\\testsuite\\style
- c:\\Python34\\python.exe checknl.py -q
after_test:
- cd ..\\..\\bin-build
- cmake --build . --config Release --target package
- ps: >-
Get-ChildItem ..\\bin\\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
deploy: off
notifications:
- provider: Email
to:
- polteam@polserver.com
on_build_success: false
on_build_failure: true
on_build_status_changed: true