-
Notifications
You must be signed in to change notification settings - Fork 7
/
.appveyor.yml
126 lines (99 loc) · 4.15 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
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
install:
- git submodule init
- git submodule update
for:
# ======================================
# Windows
# ======================================
-
matrix:
only:
- job_name: Windows
init:
- git clone --recursive --depth 1 https://github.com/RudjiGames/rapp rapp
- git clone --depth 1 https://github.com/RudjiGames/rprof rprof
- 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/bx.git bx
- git clone --depth 1 https://github.com/bkaradzic/bimg.git bimg
- git clone --depth 1 https://github.com/bkaradzic/bgfx.git bgfx
install:
- build\tools\bin\windows\genie.exe --file=rprof\genie\genie.lua vs2019
build: ../.build/windows/vs2019/rprof/projects/rprof.sln
# ======================================
# Linux
# ======================================
-
matrix:
only:
- job_name: Linux
init:
- sudo apt-get update --allow-releaseinfo-change && sudo apt install -y xorg libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libegl1-mesa-dev
- git clone --recursive --depth 1 https://github.com/RudjiGames/rapp rapp
- git clone --depth 1 https://github.com/RudjiGames/rprof rprof
- 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/bx bx
- git clone --depth 1 https://github.com/bkaradzic/bimg bimg
- git clone --depth 1 https://github.com/bkaradzic/bgfx bgfx
- git clone --depth 1 https://github.com/glfw/glfw glfw
- git clone --depth 1 https://github.com/bkaradzic/GENie GENie # build GENie from source: `GLIBC_2.29' not found
- cd GENie && make && cd ..
- mkdir glfwbuild && cd glfwbuild && cmake ../glfw -DGLFW_BUILD_TESTS=OFF && make -j4 && sudo make install && cd ..
install:
- ./GENie/bin/linux/genie --file=rprof/genie/genie.lua --gcc=linux-gcc gmake
build_script:
- cd ./.build/linux/linux-gcc/rprof/projects/
- make config=${buildcfg}
# ======================================
# OSX
# ======================================
-
matrix:
only:
- job_name: OSX
init:
- git clone --recursive --depth 1 https://github.com/RudjiGames/rapp rapp
- git clone --depth 1 https://github.com/RudjiGames/rprof rprof
- 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/bx.git bx
- git clone --depth 1 https://github.com/bkaradzic/bimg.git bimg
- git clone --depth 1 https://github.com/bkaradzic/bgfx.git bgfx
- 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'
- cd GENie && make && cd ..
install:
- ./GENie/bin/darwin/genie --file=rprof/genie/genie.lua --gcc=osx-x64 gmake
build_script:
- cd ./.build/osx/clang/rprof/projects/
- make config=${buildcfg}