Skip to content

Commit 1b42c4e

Browse files
committed
ci: Build Android w/ release & LTO
1 parent 24ca190 commit 1b42c4e

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

CMakePresets.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@
2222
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreadedDLL"
2323
}
2424
},
25+
{
26+
"name": "release",
27+
"hidden": true,
28+
"cacheVariables": {
29+
"CMAKE_BUILD_TYPE": "Release",
30+
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreadedDLL",
31+
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": {
32+
"type": "BOOL",
33+
"value": true
34+
}
35+
}
36+
},
2537
{
2638
"name": "ci",
2739
"hidden": true,
@@ -367,7 +379,8 @@
367379
"hidden": true,
368380
"inherits": [
369381
"android-base",
370-
"ci"
382+
"ci",
383+
"release"
371384
],
372385
"cacheVariables": {
373386
"DUSK_ENABLE_SENTRY_NATIVE": {

0 commit comments

Comments
 (0)