-
Notifications
You must be signed in to change notification settings - Fork 5
/
.appveyor.yml
106 lines (81 loc) · 2.94 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
100
101
102
103
104
105
106
environment:
matrix:
- job_name: Windows
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
configuration: Debug
- job_name: Windows
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
configuration: Release
- job_name: Windows
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
configuration: Retail
- job_name: Linux
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2204
buildcfg: debug64
- job_name: Linux
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2204
buildcfg: release64
- job_name: Linux
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2204
buildcfg: retail64
- job_name: OSX
APPVEYOR_BUILD_WORKER_IMAGE: macOS-sonoma
buildcfg: debug64
- job_name: OSX
APPVEYOR_BUILD_WORKER_IMAGE: macOS-sonoma
buildcfg: release64
- job_name: OSX
APPVEYOR_BUILD_WORKER_IMAGE: macOS-sonoma
buildcfg: retail64
shallow_clone: true
for:
# ======================================
# Windows
# ======================================
-
matrix:
only:
- job_name: Windows
init:
- git clone --depth 1 https://github.com/RudjiGames/build build
- git clone --depth 1 https://github.com/RudjiGames/rbase rbase
- git clone --depth 1 https://github.com/unittest-cpp/unittest-cpp.git unittest-cpp
install:
- build\tools\bin\windows\genie.exe --file=rbase\genie\genie.lua vs2022
build: ../.build/windows/vs2022/rbase/projects/rbase.sln
# ======================================
# Linux
# ======================================
-
matrix:
only:
- job_name: Linux
init:
- git clone --depth 1 https://github.com/RudjiGames/build build
- git clone --depth 1 https://github.com/RudjiGames/rbase rbase
- git clone --depth 1 https://github.com/bkaradzic/GENie GENie # build GENie from source: `GLIBC_2.29' not found
- git clone --depth 1 https://github.com/unittest-cpp/unittest-cpp.git unittest-cpp
- cd GENie && make && cd ..
install:
- ./GENie/bin/linux/genie --file=rbase/genie/genie.lua --gcc=linux-gcc gmake
build_script:
- cd ./.build/linux/linux-gcc/rbase/projects/
- make config=${buildcfg}
# ======================================
# OSX
# ======================================
-
matrix:
only:
- job_name: OSX
init:
- git clone --depth 1 https://github.com/RudjiGames/build build
- git clone --depth 1 https://github.com/RudjiGames/rbase rbase
- git clone --depth 1 https://github.com/bkaradzic/GENie GENie # build GENie from source: we don't know the target CPU, can't use ARM binary from 'build'
- git clone --depth 1 https://github.com/unittest-cpp/unittest-cpp.git unittest-cpp
- cd GENie && make && cd ..
install:
- ./GENie/bin/darwin/genie --file=rbase/genie/genie.lua --gcc=osx-x64 gmake
build_script:
- cd ./.build/osx/clang/rbase/projects/
- make config=${buildcfg}