2017-09-26 19:16:37 +08:00
|
|
|
os: Visual Studio 2015
|
|
|
|
|
|
|
|
environment:
|
2017-11-26 09:47:54 +08:00
|
|
|
HOME: "%HOMEDRIVE%%HOMEPATH%"
|
2017-09-26 19:16:37 +08:00
|
|
|
PYTHON: C:\Python27
|
2017-11-27 21:39:05 +08:00
|
|
|
SCONS_CACHE_ROOT: "%HOME%\\scons_cache"
|
2018-08-21 16:33:09 +08:00
|
|
|
SCONS_CACHE_LIMIT: 1024
|
2017-09-26 19:16:37 +08:00
|
|
|
matrix:
|
|
|
|
- VS: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
|
|
|
|
GD_PLATFORM: windows
|
|
|
|
TOOLS: yes
|
|
|
|
TARGET: release_debug
|
|
|
|
ARCH: amd64
|
|
|
|
|
2017-11-26 09:47:54 +08:00
|
|
|
cache:
|
2017-11-27 21:39:05 +08:00
|
|
|
- "%SCONS_CACHE_ROOT%"
|
2017-11-26 09:47:54 +08:00
|
|
|
|
2017-09-26 19:16:37 +08:00
|
|
|
install:
|
|
|
|
- SET "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
2018-05-17 04:59:23 +08:00
|
|
|
- pip install -U wheel # needed for pip install scons to work, otherwise a flag is missing
|
2019-01-02 06:31:08 +08:00
|
|
|
- pip install scons==3.0.1
|
2017-09-26 19:16:37 +08:00
|
|
|
- if defined VS call "%VS%" %ARCH% # if defined - so we can also use mingw
|
|
|
|
|
|
|
|
before_build:
|
|
|
|
- echo %GD_PLATFORM%
|
|
|
|
- python --version
|
|
|
|
- scons --version
|
|
|
|
- cl.exe
|
2017-11-27 21:39:05 +08:00
|
|
|
- SET "SCONS_CACHE=%SCONS_CACHE_ROOT%\master"
|
2017-09-26 19:16:37 +08:00
|
|
|
|
|
|
|
build_script:
|
2018-08-21 16:33:09 +08:00
|
|
|
- scons platform=%GD_PLATFORM% target=%TARGET% tools=%TOOLS% debug_symbols=no verbose=yes progress=no gdnative_wrapper=yes
|