This repository has been archived by the owner on Jan 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathappveyor.yml
99 lines (92 loc) · 2.48 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
image: Visual Studio 2017
# Skip build on normal pushes
skip_non_tags: true
artifacts:
- path: godot\bin\*.exe
name: GodotBinary
- path: godot\bin\*gdnative_wrapper_code*.lib
name: GodotGDNativeWrapper
environment:
BUILD_NAME: official
VS: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat
PYTHON: C:\Python27
ANGLE_SRC_PATH: C:\projects\godot-builds\angle
matrix:
- GD_PLATFORM: windows
TOOLS: yes
TARGET: release_debug
ARCH: amd64
- GD_PLATFORM: windows
TOOLS: yes
TARGET: release_debug
ARCH: x86
- GD_PLATFORM: windows
TOOLS: no
TARGET: release
ARCH: amd64
- GD_PLATFORM: windows
TOOLS: no
TARGET: release_debug
ARCH: amd64
- GD_PLATFORM: windows
TOOLS: no
TARGET: release
ARCH: x86
- GD_PLATFORM: windows
TOOLS: no
TARGET: release_debug
ARCH: x86
- GD_PLATFORM: uwp
TOOLS: no
TARGET: release
ARCH: amd64
- GD_PLATFORM: uwp
TOOLS: no
TARGET: release_debug
ARCH: amd64
- GD_PLATFORM: uwp
TOOLS: no
TARGET: release
ARCH: x86
- GD_PLATFORM: uwp
TOOLS: no
TARGET: release_debug
ARCH: x86
- GD_PLATFORM: uwp
TOOLS: no
TARGET: release
ARCH: amd64_arm
- GD_PLATFORM: uwp
TOOLS: no
TARGET: release_debug
ARCH: amd64_arm
install:
- set "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- python.exe -m pip install -U pip setuptools wheel
- pip install scons
- if defined VS call "%VS%" %ARCH% # if defined - so we can also use mingw
- git submodule update --init --recursive # download submodules
- ps: >-
If ($env:GD_PLATFORM -Match "uwp") {
Start-FileDownload https://github.com/GodotBuilder/godot-builds/releases/download/_tools/angle.7z
7z.exe x angle.7z
}
before_build:
- echo %BUILD_NAME%
- echo %GD_PLATFORM%
- python --version
- scons --version
- cl.exe
build_script:
- cd godot
- for /f %%p in ('dir /b ..\patches') do git apply ..\patches\%%p
- git rev-parse HEAD
- scons platform=%GD_PLATFORM% target=%TARGET% tools=%TOOLS% progress=no warnings=no verbose=no gdnative_wrapper=yes
deploy:
description: 'Godot binaries deployed by Travis CI and AppVeyor'
provider: GitHub
auth_token:
secure: DYTTAkQFPIDq2YL6hPMOttlHdJ9ZL6dYdOtGFIEneO8BTYx6keJRvewsdzgP2QGA
artifact: GodotBinary, GodotGDNativeWrapper
on:
appveyor_repo_tag: true