forked from polserver/polserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
61 lines (54 loc) · 1.71 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
61
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
#disabled since it does not run parallel so doubles the build time
#but should be activated from time to time for testing ninja on windows (behaves slighlty different)
#environment:
# matrix:
# - ninja: 1
# - ninja: 0
init:
- git config --global core.autocrlf true
install:
- cd bin-build
- cmake .. -G "Visual Studio 15 2017 Win64"
#- if [%ninja%] == [1] (
#appveyor DownloadFile "https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip" -FileName ninja.zip &&
#7z x ninja.zip > nul &&
#ninja --version
#)
#- if [%ninja%] == [0] (
#cmake .. -G "Visual Studio 15 2017 Win64"
#)
#- if [%ninja%] == [1] (
#call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat" &&
# cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release
#)
test_script:
- cd ..\\testsuite\\escript
- c:\\Python34\\python.exe performtests.py ..\\..\\bin\\Release\\ecompile.exe ..\\..\\bin\\Release\\runecl.exe -n 5 -q
- cd ..\\style
- c:\\Python34\\python.exe checknl.py -q
#- if [%ninja%] == [1] (
# c:\\Python34\\python.exe performtests.py ..\\..\\bin\\ecompile.exe ..\\..\\bin\\runecl.exe -n 5
# )
#- if [%ninja%] == [0] (
# c:\\Python34\\python.exe performtests.py ..\\..\\bin\\Release\\ecompile.exe ..\\..\\bin\\Release\\runecl.exe -n 5
# )
deploy: off
notifications:
- provider: Email
to:
on_build_success: false
on_build_failure: true
on_build_status_changed: true