-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.appveyor.yml
134 lines (106 loc) · 4.21 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
127
128
129
130
131
132
133
134
environment:
matrix:
- job_name: Windows
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
configuration: Debug
platform: x64
- job_name: Windows
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
configuration: Release
platform: x64
- job_name: Windows
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
configuration: Retail
platform: x64
- 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
- QTDIR: C:\Qt\6.5.3\msvc2019_64
init:
- set QTDIR=C:\Qt\6.5.3\msvc2019_64
- git clone --depth 1 https://github.com/rjpcomputing/luaforwindows luaforwindows
- copy %cd%\luaforwindows\files\lua5.1.exe %cd%\luaforwindows\files\lua.exe
- set PATH=%cd%\luaforwindows\files;C:\Qt\6.5.3\msvc2019_64\bin;%PATH%
- git clone --depth 1 https://github.com/RudjiGames/rqt rqt
- 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/RudjiGames/rdebug rdebug
- git clone --depth 1 https://github.com/RudjiGames/DIA DIA
install:
- build\tools\bin\windows\genie.exe --file=rqt\genie\genie.lua vs2022
build: ../.build/windows/vs2022/rqt/projects/rqt.sln
# ======================================
# Linux
# ======================================
-
matrix:
only:
- job_name: Linux
init:
- sudo apt install -y lua5.3 lua-filesystem
- export QTDIR="$HOME/Qt/6.5.3/gcc_64"
- export PATH="$HOME/Qt/6.5.3/gcc_64/bin:$HOME/Qt/6.5.3/gcc_64/libexec:/home/appveyor/Qt/6.5.3/gcc_64/libexec:$PATH"
- export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$HOME/Qt/6.5.3/gcc_64/lib/pkgconfig"
- git clone --depth 1 https://github.com/RudjiGames/rqt rqt
- 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/RudjiGames/rdebug rdebug
- git clone --depth 1 https://github.com/bkaradzic/GENie GENie # build GENie from source: `GLIBC_2.29' not found
- cd GENie && make && cd ..
install:
- ./GENie/bin/linux/genie --file=rqt/genie/genie.lua --gcc=linux-gcc gmake
build_script:
- cd ./.build/linux/linux-gcc/rqt/projects/
- make config=${buildcfg}
# ======================================
# OSX
# ======================================
-
matrix:
only:
- job_name: OSX
init:
- export QTDIR="$HOME/Qt/6.5.3/macos/"
- export PATH="$HOME/Qt/6.5.3/macos/bin:$HOME/Qt/6.5.3/macos/libexec:$PATH"
- export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$HOME/Qt/6.5.3/macos/lib/pkgconfig"
- curl -L -R -O https://www.lua.org/ftp/lua-5.4.7.tar.gz
- tar zxf lua-5.4.7.tar.gz
- cd lua-5.4.7 && sudo make all test && sudo make install && cd ..
- git clone --depth 1 https://github.com/RudjiGames/rqt rqt
- git clone --depth 1 https://github.com/RudjiGames/rdebug rdebug
- 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'
- cd GENie && make && cd ..
install:
- ./GENie/bin/darwin/genie --file=rqt/genie/genie.lua --gcc=osx-x64 gmake
build_script:
- cd ./.build/osx/clang/rqt/projects/
- make config=${buildcfg}