forked from ghewgill/neon-lang
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
35 lines (35 loc) · 1.1 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
image:
#- Visual Studio 2013
- Visual Studio 2015
- Visual Studio 2017
environment:
matrix:
- BUILDER: scons
WITH_SUBMODULES: 0
- BUILDER: scons
WITH_SUBMODULES: 1
- BUILDER: cmake
WITH_SUBMODULES: 0
- BUILDER: cmake
WITH_SUBMODULES: 1
matrix:
exclude:
- image: Visual Studio 2015
WITH_SUBMODULES: 1
- image: Visual Studio 2017
WITH_SUBMODULES: 1
- BUILDER: cmake
#WITH_SUBMODULES: 1
install:
- ps: >-
if (-not (Test-Path C:\Python38\Lib\site-packages\scons-3.0.0)){
Start-FileDownload "https://downloads.sourceforge.net/project/scons/scons/3.0.0/scons-3.0.0.zip" -FileName "scons-3.0.0.zip"
7z x -y scons-3.0.0.zip
}
build_script:
- cmd: set PATH=c:\python38;%PATH%
- cmd: copy c:\python38\python.exe c:\python38\python3.exe
- cmd: python3 scons-3.0.0\setup.py install
- cmd: if %WITH_SUBMODULES%==1 git submodule update --init
- cmd: if %BUILDER%==scons scons
- cmd: if %BUILDER%==cmake scons external && cmake . && msbuild ALL_BUILD.vcxproj && ctest -C Debug -V