File tree Expand file tree Collapse file tree 2 files changed +10
-20
lines changed Expand file tree Collapse file tree 2 files changed +10
-20
lines changed Original file line number Diff line number Diff line change 28
28
- name : Prepare cmake
29
29
uses : lukka/get-cmake@latest
30
30
31
+ - name : Install Qt
32
+ uses : jurplel/install-qt-action@v4
33
+ with :
34
+ # dir: # optional
35
+ version : 6.9.0
36
+ target : desktop
37
+
31
38
- name : Prepare Ubuntu
32
39
if : contains(matrix.os, 'ubuntu') && matrix.android == 'none'
33
40
run : |
@@ -43,13 +50,14 @@ jobs:
43
50
if : ${{ !contains(matrix.os, 'windows') && matrix.android == 'none' }}
44
51
working-directory : ./engine
45
52
run : |
46
- ${{ matrix.cmake-path }}cmake --preset=CI-Linux
53
+ ${{ matrix.cmake-path }}cmake -S . -B cmake-build -DNICKEL_BUILD_TESTS=ON -DNICKEL_BUILD_TOOLS=ON -DQT6_PATH=$QT_ROOT_DIR
47
54
48
55
- name : Config cmake(Windows)
49
56
if : contains(matrix.os, 'windows')
50
57
working-directory : ./engine
51
58
run : |
52
- ${{ matrix.cmake-path}}cmake --preset=CI-Windows
59
+ ${{ matrix.cmake-path }}cmake -S . -B cmake-build -DNICKEL_BUILD_TESTS=ON -DNICKEL_BUILD_TOOLS=ON -DCMAKE_SYSTEM_VERSION="10.0.26100.0" -DQT6_PATH=$env:QT_ROOT_DIR
60
+
53
61
54
62
- name : Build under PC
55
63
if : matrix.android == 'none'
Original file line number Diff line number Diff line change 9
9
"NICKEL_BUILD_TESTS" : " ON" ,
10
10
"NICKEL_BUILD_TOOLS" : " ON"
11
11
}
12
- },
13
- {
14
- "name" : " CI-Linux" ,
15
- "binaryDir" : " ${sourceDir}/cmake-build" ,
16
- "generator" : " Ninja" ,
17
- "cacheVariables" : {
18
- "NICKEL_BUILD_TESTS" : " ON" ,
19
- "NICKEL_BUILD_TOOLS" : " ON"
20
- }
21
- },
22
- {
23
- "name" : " CI-Windows" ,
24
- "binaryDir" : " ${sourceDir}/cmake-build" ,
25
- "cacheVariables" : {
26
- "NICKEL_BUILD_TESTS" : " ON" ,
27
- "NICKEL_BUILD_TOOLS" : " ON" ,
28
- "CMAKE_SYSTEM_VERSION" : " 10.0.26100.0"
29
- }
30
12
}
31
13
]
32
14
}
You can’t perform that action at this time.
0 commit comments