-
Notifications
You must be signed in to change notification settings - Fork 3
/
.appveyor.yml
45 lines (38 loc) · 2.16 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
image:
- Visual Studio 2019
#- Visual Studio 2017
#- Visual Studio 2015
environment:
matrix:
- NEON_ARCH: 64
EXCLUDE_TESTS: 1
- NEON_ARCH: 32
- NEON_ARCH: 64
#- WITH_SUBMODULES: 1
# NEON_ARCH: 64
#matrix:
# exclude:
# - image: Visual Studio 2015
# - image: Visual Studio 2017
# - image: Visual Studio 2019
#install:
#- ps: >-
# if (-not (Test-Path C:\Python38\Lib\site-packages\scons-3.1.2)){
# Start-FileDownload "https://downloads.sourceforge.net/project/scons/scons/3.1.2/scons-3.1.2.zip" -FileName "scons-3.1.2.zip"
# 7z x -y scons-3.1.2.zip
# }
build_script:
- cmd: set PATH=c:\python38;%PATH%
- cmd: copy c:\python38\python.exe c:\python38\python3.exe
#- cmd: python3 scons-3.1.2\setup.py install
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2019" if "%NEON_ARCH%"=="32" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2019" if "%NEON_ARCH%"=="64" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" if "%NEON_ARCH%"=="32" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" if "%NEON_ARCH%"=="64" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" if "%NEON_ARCH%"=="32" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" if "%NEON_ARCH%"=="64" call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" if "%NEON_ARCH%"=="64" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
- cmd: cmake .
- cmd: cmake --build .
- cmd: set PYTHONIOENCODING=utf8
- cmd: if not "%EXCLUDE_TESTS%"=="1" ctest -C Debug --output-on-failure