forked from orx/orx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
80 lines (52 loc) · 2.35 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
version: 1.12-dev.{build}
image:
- Visual Studio 2017
- Visual Studio 2019
- Visual Studio 2022
configuration: Default
platform: x64
environment:
matrix:
- Version: 32
- Version: 64
install:
- cmd: setup ../cache
cache: ../cache
build_script:
- cmd: >-
if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" set VSVersion=2017
if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2019" set VSVersion=2019
if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2022" set VSVersion=2022
set PackageVersion=vs%VSVersion%-%Version%
set Folder=vs%VSVersion%
msbuild code/build/windows/%Folder%/orx.sln /p:Platform=%Platform% /p:Configuration=Release
msbuild code/build/windows/%Folder%/orx.sln /p:Platform=%Platform% /p:Configuration=Profile
msbuild code/build/windows/%Folder%/orx.sln /p:Platform=%Platform% /p:Configuration=Debug
msbuild tutorial/build/windows/%Folder%/tutorial.sln /p:Platform=%Platform% /p:Configuration=Release
set ORX=%CD%\code
init.bat test +scroll +imgui +bundle
msbuild test/build/windows/%Folder%/test.sln /p:Platform=%Platform% /p:Configuration=Release
msbuild test/build/windows/%Folder%/test.sln /p:Platform=%Platform% /p:Configuration=Profile
msbuild test/build/windows/%Folder%/test.sln /p:Platform=%Platform% /p:Configuration=Debug
msbuild code/build/windows/%Folder%/orx.sln /p:Platform=%Platform% "/p:Configuration=Core Release"
msbuild tools/orxFontGen/build/windows/%Folder%/orxFontGen.sln /p:Platform=%Platform% /p:Configuration=Release
msbuild tools/orxCrypt/build/windows/%Folder%/orxCrypt.sln /p:Platform=%Platform% /p:Configuration=Release
cd code/build/python
python package.py -p %PackageVersion%
python package.py -p tuto%PackageVersion%
artifacts:
- path: code/build/python/packages/*vs2017-64*.zip
name: package-vs2017-64
- path: code/build/python/packages/*vs2017-32*.zip
name: package-vs2017-32
- path: code/build/python/packages/*vs2019-64*.zip
name: package-vs2019-64
- path: code/build/python/packages/*vs2019-32*.zip
name: package-vs2019-32
- path: code/build/python/packages/*vs2022-64*.zip
name: package-vs2022-64
- path: code/build/python/packages/*vs2022-32*.zip
name: package-vs2022-32
- path: test/bin/test.exe
name: test-project
deploy: off