build_config.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. {
  2. "clean": {
  3. "TAGS": [],
  4. "COMMAND": "clean_mac.sh",
  5. "PARAMETERS": {
  6. "OUTPUT_DIRECTORY": "build",
  7. "CMAKE_LY_PROJECTS": "AutomatedTesting"
  8. }
  9. },
  10. "profile_pipe": {
  11. "TAGS": [
  12. "periodic-incremental-daily-internal",
  13. "periodic-clean-weekly-internal"
  14. ],
  15. "steps": [
  16. "profile",
  17. "asset_profile",
  18. "test_profile"
  19. ]
  20. },
  21. "metrics": {
  22. "TAGS": [
  23. "weekly"
  24. ],
  25. "COMMAND": "python_mac.sh",
  26. "PARAMETERS": {
  27. "SCRIPT_PATH": "scripts/build/ci_build_metrics.py",
  28. "SCRIPT_PARAMETERS": "--platform=Mac --repository=${REPOSITORY_NAME} --jobname=${JOB_NAME} --jobnumber=${BUILD_NUMBER} --jobnode=${NODE_LABEL} --changelist=${CHANGE_ID}"
  29. }
  30. },
  31. "debug": {
  32. "TAGS": [
  33. "periodic-incremental-daily-internal",
  34. "periodic-clean-weekly-internal",
  35. "weekly-build-metrics"
  36. ],
  37. "COMMAND": "build_mac.sh",
  38. "PARAMETERS": {
  39. "CONFIGURATION": "debug",
  40. "OUTPUT_DIRECTORY": "build/mac",
  41. "CMAKE_OPTIONS": "-G Xcode",
  42. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  43. "CMAKE_TARGET": "ALL_BUILD"
  44. }
  45. },
  46. "profile": {
  47. "TAGS": [
  48. "daily-pipeline-metrics",
  49. "weekly-build-metrics"
  50. ],
  51. "COMMAND": "build_mac.sh",
  52. "PARAMETERS": {
  53. "CONFIGURATION": "profile",
  54. "OUTPUT_DIRECTORY": "build/mac",
  55. "CMAKE_OPTIONS": "-G Xcode",
  56. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  57. "CMAKE_TARGET": "ALL_BUILD"
  58. }
  59. },
  60. "profile_nounity": {
  61. "TAGS": [
  62. "periodic-incremental-daily-internal",
  63. "periodic-clean-weekly-internal",
  64. "weekly-build-metrics"
  65. ],
  66. "COMMAND": "build_mac.sh",
  67. "PARAMETERS": {
  68. "CONFIGURATION": "profile",
  69. "OUTPUT_DIRECTORY": "build/mac",
  70. "CMAKE_OPTIONS": "-G Xcode -DLY_UNITY_BUILD=FALSE",
  71. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  72. "CMAKE_TARGET": "ALL_BUILD"
  73. }
  74. },
  75. "asset_profile": {
  76. "TAGS": [
  77. "weekly-build-metrics",
  78. "periodic-incremental-daily-internal",
  79. "periodic-clean-weekly-internal"
  80. ],
  81. "COMMAND": "build_asset_mac.sh",
  82. "PARAMETERS": {
  83. "CONFIGURATION": "profile",
  84. "OUTPUT_DIRECTORY": "build/mac",
  85. "CMAKE_OPTIONS": "-G Xcode",
  86. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  87. "CMAKE_TARGET": "AssetProcessorBatch",
  88. "ASSET_PROCESSOR_BINARY": "bin/profile/AssetProcessorBatch",
  89. "ASSET_PROCESSOR_OPTIONS": "--zeroAnalysisMode --ignoreFutureAssetDatabaseVersionError",
  90. "ASSET_PROCESSOR_PLATFORMS": "mac"
  91. }
  92. },
  93. "test_profile": {
  94. "TAGS": [
  95. "daily-pipeline-metrics",
  96. "weekly-build-metrics"
  97. ],
  98. "COMMAND": "build_test_mac.sh",
  99. "PARAMETERS": {
  100. "CONFIGURATION": "profile",
  101. "OUTPUT_DIRECTORY": "build/mac",
  102. "CMAKE_OPTIONS": "-G Xcode",
  103. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  104. "CMAKE_TARGET": "ALL_BUILD",
  105. "CTEST_OPTIONS": "-L (SUITE_smoke|SUITE_main) -LE (REQUIRES_gpu) --no-tests=error",
  106. "TEST_RESULTS": "False"
  107. }
  108. },
  109. "periodic_test_profile": {
  110. "TAGS": [
  111. "periodic-incremental-daily-internal",
  112. "periodic-clean-weekly-internal",
  113. "weekly-build-metrics"
  114. ],
  115. "COMMAND": "build_test_mac.sh",
  116. "PARAMETERS": {
  117. "CONFIGURATION": "profile",
  118. "OUTPUT_DIRECTORY": "build/mac",
  119. "CMAKE_OPTIONS": "-G Xcode",
  120. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  121. "CMAKE_TARGET": "TEST_SUITE_periodic",
  122. "CTEST_OPTIONS": "-L (SUITE_periodic) -LE (REQUIRES_gpu)",
  123. "TEST_RESULTS": "False"
  124. }
  125. },
  126. "benchmark_test_profile": {
  127. "TAGS": [
  128. "periodic-incremental-daily-internal",
  129. "periodic-clean-weekly-internal",
  130. "weekly-build-metrics"
  131. ],
  132. "COMMAND": "build_test_mac.sh",
  133. "PARAMETERS": {
  134. "CONFIGURATION": "profile",
  135. "OUTPUT_DIRECTORY": "build/mac",
  136. "CMAKE_OPTIONS": "-G Xcode",
  137. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  138. "CMAKE_TARGET": "TEST_SUITE_benchmark",
  139. "CTEST_OPTIONS": "-L (SUITE_benchmark) -LE (REQUIRES_gpu)",
  140. "TEST_RESULTS": "False"
  141. }
  142. },
  143. "release": {
  144. "TAGS": [
  145. "periodic-incremental-daily-internal",
  146. "periodic-clean-weekly-internal",
  147. "weekly-build-metrics"
  148. ],
  149. "COMMAND": "build_mac.sh",
  150. "PARAMETERS": {
  151. "CONFIGURATION": "release",
  152. "OUTPUT_DIRECTORY": "build/mac",
  153. "CMAKE_OPTIONS": "-G Xcode",
  154. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  155. "CMAKE_TARGET": "ALL_BUILD"
  156. }
  157. },
  158. "monolithic_release": {
  159. "TAGS": [
  160. "periodic-incremental-daily-internal",
  161. "periodic-clean-weekly-internal",
  162. "weekly-build-metrics"
  163. ],
  164. "COMMAND": "build_mac.sh",
  165. "PARAMETERS": {
  166. "CONFIGURATION": "release",
  167. "OUTPUT_DIRECTORY": "build/mono_mac",
  168. "CMAKE_OPTIONS": "-G Xcode -DLY_MONOLITHIC_GAME=TRUE",
  169. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  170. "CMAKE_TARGET": "ALL_BUILD"
  171. }
  172. },
  173. "install_profile": {
  174. "TAGS": [],
  175. "COMMAND": "build_mac.sh",
  176. "PARAMETERS": {
  177. "CONFIGURATION": "profile",
  178. "OUTPUT_DIRECTORY": "build/mac",
  179. "CMAKE_OPTIONS": "-G Xcode -DLY_DISABLE_TEST_MODULES=TRUE",
  180. "CMAKE_LY_PROJECTS": "",
  181. "CMAKE_TARGET": "install"
  182. }
  183. },
  184. "install_profile_pipe": {
  185. "TAGS": [
  186. "periodic-incremental-daily-internal",
  187. "periodic-clean-weekly-internal"
  188. ],
  189. "PIPELINE_ENV": {
  190. "PROJECT_REPOSITORY_NAME": "TestProject"
  191. },
  192. "steps": [
  193. "install_profile",
  194. "project_generate",
  195. "project_engineinstall_profile"
  196. ]
  197. },
  198. "project_generate": {
  199. "TAGS": [],
  200. "COMMAND": "python_mac.sh",
  201. "PARAMETERS": {
  202. "SCRIPT_PATH": "install/O3DE_SDK.app/Contents/Engine/scripts/o3de.py",
  203. "SCRIPT_PARAMETERS": "create-project -pp ${WORKSPACE}/${PROJECT_REPOSITORY_NAME} --force"
  204. }
  205. },
  206. "project_engineinstall_profile": {
  207. "TAGS": [],
  208. "COMMAND": "build_mac.sh",
  209. "PARAMETERS": {
  210. "COMMAND_CWD": "${WORKSPACE}/${PROJECT_REPOSITORY_NAME}",
  211. "CONFIGURATION": "profile",
  212. "OUTPUT_DIRECTORY": "build/mac",
  213. "CMAKE_OPTIONS": "-G Xcode -DCMAKE_MODULE_PATH=${WORKSPACE}/o3de/install/O3DE_SDK.app/Contents/Engine/cmake",
  214. "CMAKE_LY_PROJECTS": "",
  215. "CMAKE_TARGET": "ALL_BUILD"
  216. }
  217. }
  218. }