@@ -21,22 +21,26 @@ jobs:
21
21
runs-on : ${{ matrix.os }}
22
22
env :
23
23
EM_VERSION : 3.1.39
24
- config-flags : -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DGODOTCPP_ENABLE_TESTING=ON -DGODOTCPP_BUILD_PROFILE="test/build_profile.json"
24
+ config-flags :
25
+ -DCMAKE_C_COMPILER_LAUNCHER=sccache
26
+ -DCMAKE_CXX_COMPILER_LAUNCHER=sccache
27
+ -DGODOTCPP_ENABLE_TESTING=ON
28
+ -DGODOTCPP_BUILD_PROFILE="test/build_profile.json"
25
29
SCCACHE_GHA_ENABLED : " true"
26
30
27
31
strategy :
28
32
fail-fast : false
29
33
matrix :
30
34
include :
31
- - name : 🐧 Linux (GCC)
35
+ - name : 🐧 Linux (GCC, Makefiles )
32
36
os : ubuntu-22.04
33
37
platform : linux
34
38
config-flags : -DCMAKE_BUILD_TYPE=Release
35
39
artifact-name : godot-cpp-linux-glibc2.27-x86_64-release.cmake
36
40
artifact-path : cmake-build/bin/libgodot-cpp.linux.template_release.x86_64.a
37
41
run-tests : true
38
42
39
- - name : 🐧 Linux (GCC, Double Precision)
43
+ - name : 🐧 Linux (GCC, Makefiles, Double Precision)
40
44
os : ubuntu-22.04
41
45
platform : linux
42
46
config-flags : -DCMAKE_BUILD_TYPE=Release -DGODOTCPP_PRECISION=double
54
58
artifact-path : cmake-build/bin/libgodot-cpp.windows.template_release.x86_64.lib
55
59
run-tests : false
56
60
57
- - name : 🏁 Windows (x86_64, MinGW)
61
+ - name : 🏁 Windows (x86_64, MinGW, Ninja )
58
62
os : windows-2019
59
63
platform : windows
60
64
compiler : mingw
74
78
- name : 🤖 Android (arm64)
75
79
os : ubuntu-22.04
76
80
platform : android
77
- config-flags : -G Ninja -DCMAKE_BUILD_TYPE=Release --toolchain ${ANDROID_HOME}/ndk/23.2.8568313/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=21
81
+ config-flags :
82
+ -G Ninja -DCMAKE_BUILD_TYPE=Release
83
+ --toolchain ${ANDROID_HOME}/ndk/23.2.8568313/build/cmake/android.toolchain.cmake
84
+ -DANDROID_PLATFORM=21 -DANDROID_ABI=arm64-v8a
78
85
artifact-name : godot-cpp-android-arm64-release.cmake
79
86
artifact-path : cmake-build/bin/libgodot-cpp.android.template_release.arm64.a
80
87
flags : arch=arm64
@@ -89,12 +96,12 @@ jobs:
89
96
flags : arch=arm64
90
97
run-tests : false
91
98
92
-
93
-
94
99
- name : 🌐 Web (wasm32)
95
100
os : ubuntu-22.04
96
101
platform : web
97
- config-flags : -G Ninja -DCMAKE_BUILD_TYPE=Release --toolchain ${EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake
102
+ config-flags :
103
+ -G Ninja -DCMAKE_BUILD_TYPE=Release
104
+ --toolchain ${EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake
98
105
artifact-name : godot-cpp-web-wasm32-release.cmake
99
106
artifact-path : cmake-build/bin/libgodot-cpp.web.template_release.wasm32.a
100
107
run-tests : false
@@ -113,18 +120,19 @@ jobs:
113
120
with :
114
121
platform : ${{ matrix.platform }}
115
122
windows-compiler : ${{ matrix.compiler }}
123
+ buildtool : cmake
116
124
117
125
- name : Configure
118
- run : |
126
+ run : >
119
127
cmake --log-level=VERBOSE -S . -B cmake-build ${{ env.config-flags }} ${{ matrix.config-flags }}
120
128
121
129
- name : Build test.template_debug
122
- run : |
123
- cmake --build cmake-build --target godot-cpp.test.template_debug ${{ matrix.build-flags }}
130
+ run : >
131
+ cmake --build cmake-build --verbose -- target godot-cpp.test.template_debug ${{ matrix.build-flags }}
124
132
125
133
- name : Build test.template_release
126
- run : |
127
- cmake --build cmake-build --target godot-cpp.test.template_release ${{ matrix.build-flags }}
134
+ run : >
135
+ cmake --build cmake-build --verbose -- target godot-cpp.test.template_release ${{ matrix.build-flags }}
128
136
129
137
- name : Run sccache stat for check
130
138
shell : bash
0 commit comments