2019-12-31 15:14:32 +00:00
|
|
|
image: Visual Studio 2019
|
|
|
|
|
|
|
|
platform: x64
|
2017-09-26 11:16:37 +00:00
|
|
|
|
|
|
|
environment:
|
2017-11-26 01:47:54 +00:00
|
|
|
HOME: "%HOMEDRIVE%%HOMEPATH%"
|
2019-12-31 15:14:32 +00:00
|
|
|
PYTHON: C:\Python38
|
2017-11-27 13:39:05 +00:00
|
|
|
SCONS_CACHE_ROOT: "%HOME%\\scons_cache"
|
2018-08-21 08:33:09 +00:00
|
|
|
SCONS_CACHE_LIMIT: 1024
|
2017-09-26 11:16:37 +00:00
|
|
|
matrix:
|
2019-12-31 15:14:32 +00:00
|
|
|
- GD_PLATFORM: windows
|
2017-09-26 11:16:37 +00:00
|
|
|
TOOLS: yes
|
|
|
|
TARGET: release_debug
|
|
|
|
|
2019-07-02 16:26:08 +00:00
|
|
|
init:
|
2020-02-19 10:53:02 +00:00
|
|
|
- ps: if ($env:APPVEYOR_REPO_BRANCH -ne "3.2") { $env:APPVEYOR_CACHE_SKIP_SAVE = "true" }
|
2019-07-02 16:26:08 +00:00
|
|
|
|
2017-11-26 01:47:54 +00:00
|
|
|
cache:
|
2017-11-27 13:39:05 +00:00
|
|
|
- "%SCONS_CACHE_ROOT%"
|
2017-11-26 01:47:54 +00:00
|
|
|
|
2017-09-26 11:16:37 +00:00
|
|
|
install:
|
|
|
|
- SET "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
2019-12-31 15:14:32 +00:00
|
|
|
- pip install scons==3.1.2
|
2017-09-26 11:16:37 +00:00
|
|
|
|
|
|
|
before_build:
|
|
|
|
- echo %GD_PLATFORM%
|
|
|
|
- python --version
|
|
|
|
- scons --version
|
2019-07-02 16:26:08 +00:00
|
|
|
- set "SCONS_CACHE=%SCONS_CACHE_ROOT%\%APPVEYOR_REPO_BRANCH%"
|
2017-09-26 11:16:37 +00:00
|
|
|
|
|
|
|
build_script:
|
2019-07-02 16:26:08 +00:00
|
|
|
- scons platform=%GD_PLATFORM% target=%TARGET% tools=%TOOLS% debug_symbols=no verbose=yes progress=no gdnative_wrapper=yes
|
2020-05-10 11:49:47 +00:00
|
|
|
|
|
|
|
after_build:
|
2020-05-11 15:54:36 +00:00
|
|
|
- git rev-parse --short=9 HEAD > VERSION_HASH.txt
|
|
|
|
- set /P VERSION_HASH= < VERSION_HASH.txt
|
|
|
|
- cd bin
|
|
|
|
- mv godot.windows.opt.tools.64.exe godot_%APPVEYOR_REPO_BRANCH%-%VERSION_HASH%_win64.exe
|
|
|
|
- 7z a -mx9 godot_%APPVEYOR_REPO_BRANCH%-%VERSION_HASH%_win64.zip *.exe
|
2020-05-10 11:49:47 +00:00
|
|
|
|
|
|
|
artifacts:
|
2020-05-11 15:54:36 +00:00
|
|
|
- path: bin/godot_${APPVEYOR_REPO_BRANCH}-${VERSION_HASH}_win64.zip
|
|
|
|
name: Win64 release_debug editor build
|
2020-05-10 11:49:47 +00:00
|
|
|
type: zip
|