File tree Expand file tree Collapse file tree 2 files changed +65
-10
lines changed Expand file tree Collapse file tree 2 files changed +65
-10
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,19 @@ jobs:
29
29
- macos-11
30
30
include :
31
31
- os : windows-2022
32
- cmake_options : -DWITH_DRIVER_DIRECT3D=ON -DWITH_DRIVER_XAUDIO2=ON
32
+ cmake_preset : windows-client
33
33
- os : windows-2019
34
- cmake_options : -DWITH_DRIVER_DIRECT3D=ON -DWITH_DRIVER_XAUDIO2=ON
34
+ cmake_preset : windows-client
35
35
- os : ubuntu-22.04
36
36
ubuntu_version : 22.04
37
+ cmake_preset : linux-client
37
38
- os : ubuntu-20.04
38
39
ubuntu_version : 20.04
40
+ cmake_preset : linux-client
39
41
- os : macos-14
40
- cmake_options : -DWITH_LIBXML2_ICONV=OFF -GXcode
42
+ cmake_preset : macos-client
41
43
- os : macos-11
42
- cmake_options : -DWITH_LIBXML2_ICONV=OFF -GXcode
44
+ cmake_preset : macos-client
43
45
44
46
steps :
45
47
- uses : actions/checkout@v4
98
100
99
101
- name : Configure CMake
100
102
run : >
101
- cmake --preset client
102
- ${{ matrix.cmake_options }}
103
+ cmake --preset ${{ matrix.cmake_preset }}
103
104
-DHUNTER_CONFIGURATION_TYPES=Release
104
105
-DHUNTER_ENABLED=ON
105
106
-DHUNTER_ROOT=${{ steps.strings.outputs.hunter-dir }}
Original file line number Diff line number Diff line change 4
4
{
5
5
"name" : " base" ,
6
6
"hidden" : true ,
7
- "generator" : " Ninja Multi-Config" ,
8
7
"binaryDir" : " ${sourceDir}/build"
9
8
},
10
9
{
11
- "inherits" : [
12
- " base"
13
- ],
10
+ "name" : " linux" ,
11
+ "inherits" : " base" ,
12
+ "generator" : " Ninja Multi-Config" ,
13
+ "condition" : {
14
+ "type" : " equals" ,
15
+ "lhs" : " ${hostSystemName}" ,
16
+ "rhs" : " Linux"
17
+ }
18
+ },
19
+ {
20
+ "name" : " windows" ,
21
+ "inherits" : " base" ,
22
+ "condition" : {
23
+ "type" : " equals" ,
24
+ "lhs" : " ${hostSystemName}" ,
25
+ "rhs" : " Windows"
26
+ }
27
+ },
28
+ {
29
+ "name" : " macos" ,
30
+ "inherits" : " base" ,
31
+ "generator" : " Xcode" ,
32
+ "condition" : {
33
+ "type" : " equals" ,
34
+ "lhs" : " ${hostSystemName}" ,
35
+ "rhs" : " Darwin"
36
+ }
37
+ },
38
+ {
39
+ "inherits" : " base" ,
14
40
"name" : " default" ,
15
41
"cacheVariables" : {
16
42
"WITH_STATIC" : true ,
57
83
"WITH_RYZOM_SERVER" : false ,
58
84
"WITH_RYZOM_TOOLS" : false
59
85
}
86
+ },
87
+ {
88
+ "inherits" : [
89
+ " linux" ,
90
+ " client"
91
+ ],
92
+ "name" : " linux-client"
93
+ },
94
+ {
95
+ "inherits" : [
96
+ " windows" ,
97
+ " client"
98
+ ],
99
+ "name" : " windows-client" ,
100
+ "cacheVariables" : {
101
+ "WITH_DRIVER_DIRECT3D" : true ,
102
+ "WITH_DRIVER_XAUDIO2" : true
103
+ }
104
+ },
105
+ {
106
+ "inherits" : [
107
+ " macos" ,
108
+ " client"
109
+ ],
110
+ "name" : " macos-client" ,
111
+ "cacheVariables" : {
112
+ "WITH_LIBXML2_ICONV" : false
113
+ }
60
114
}
61
115
],
62
116
"buildPresets" : [
You can’t perform that action at this time.
0 commit comments