-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
103 lines (78 loc) · 3.09 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
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 --recursive --depth 1 https://github.com/RudjiGames/rapp_template rapp_template
install:
- rapp_template\build\tools\bin\windows\genie.exe --file=rapp_template\src\app_template\genie\genie.lua vs2022
build: rapp_template\.build\windows\vs2022\app_template\projects\app_template.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 libx11-dev
- git clone --recursive --depth 1 https://github.com/RudjiGames/rapp_template rapp_template
- git clone --depth 1 https://github.com/bkaradzic/GENie GENie # build GENie from source: `GLIBC_2.29' not found
- cd GENie && make && cd ..
- git clone --depth 1 https://github.com/glfw/glfw glfw
- mkdir glfwbuild && cd glfwbuild && cmake ../glfw -DGLFW_BUILD_TESTS=OFF && make -j4 && sudo make install && cd ..
install:
- ./GENie/bin/linux/genie --file=rapp_template/src/app_template/genie/genie.lua --gcc=linux-gcc gmake
build_script:
- cd ./rapp_template/.build/linux/linux-gcc/app_template/projects/
- make config=${buildcfg}
# ======================================
# OSX
# ======================================
-
matrix:
only:
- job_name: OSX
init:
- git clone --recursive --depth 1 https://github.com/RudjiGames/rapp_template rapp_template
- 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=rapp_template/src/app_template/genie/genie.lua --gcc=osx-arm64 gmake
build_script:
- cd ./rapp_template/.build/osx/clang/app_template/projects/
- make config=${buildcfg}