build_config.json 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  1. {
  2. "public_metrics_pipe": {
  3. "TAGS": [
  4. "periodic-incremental-daily-internal"
  5. ],
  6. "steps": [
  7. "test_cpu_profile_internal_metrics",
  8. "generate_ctest_metrics",
  9. "generate_pytest_metrics",
  10. "upload_metrics"
  11. ]
  12. },
  13. "generate_ctest_metrics": {
  14. "TAGS": [],
  15. "COMMAND": "python_windows.cmd",
  16. "PARAMETERS": {
  17. "SCRIPT_PATH": "scripts\\metrics\\ctest_metrics_xml_to_csv.py",
  18. "SCRIPT_PARAMETERS": "build\\windows --output-directory build\\windows\\Testing\\csv --branch %BRANCH_NAME% -w"
  19. }
  20. },
  21. "generate_pytest_metrics": {
  22. "TAGS": [],
  23. "COMMAND": "python_windows.cmd",
  24. "PARAMETERS": {
  25. "SCRIPT_PATH": "scripts\\metrics\\pytest_metrics_xml_to_csv.py",
  26. "SCRIPT_PARAMETERS": "build\\windows\\Testing\\Pytest --output-directory build\\windows\\Testing\\csv --branch %BRANCH_NAME% -w"
  27. }
  28. },
  29. "upload_metrics": {
  30. "TAGS": [],
  31. "COMMAND": "upload_metrics_windows.cmd",
  32. "PARAMETERS": {
  33. "CSV_DIRECTORY": "build\\windows\\Testing\\csv"
  34. }
  35. },
  36. "test_cpu_profile_internal_metrics": {
  37. "TAGS": [],
  38. "COMMAND": "build_test_windows.cmd",
  39. "PIPELINE_ENV": {
  40. "NONBLOCKING_STEP": "True"
  41. },
  42. "PARAMETERS": {
  43. "CONFIGURATION": "profile",
  44. "OUTPUT_DIRECTORY": "build\\windows",
  45. "CMAKE_OPTIONS": "-DCMAKE_SYSTEM_VERSION=10.0 -DO3DE_TEST_IMPACT_NATIVE_TEST_TARGETS_ENABLED=FALSE -DO3DE_TEST_IMPACT_PYTHON_TEST_TARGETS_ENABLED=TRUE",
  46. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  47. "CMAKE_TARGET": "TEST_SUITE_smoke TEST_SUITE_main",
  48. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo",
  49. "CTEST_OPTIONS": "-L \"(SUITE_smoke|SUITE_main)\" -LE \"(REQUIRES_gpu|REQUIRES_tiaf)\" -T Test --no-tests=error"
  50. }
  51. },
  52. "clean": {
  53. "TAGS": [],
  54. "COMMAND": "clean_windows.cmd",
  55. "PARAMETERS": {
  56. "OUTPUT_DIRECTORY": "build",
  57. "CMAKE_LY_PROJECTS": "AutomatedTesting"
  58. }
  59. },
  60. "debug_pipe": {
  61. "TAGS": [
  62. "periodic-incremental-daily",
  63. "periodic-clean-weekly-internal"
  64. ],
  65. "steps": [
  66. "debug",
  67. "test_debug"
  68. ]
  69. },
  70. "profile_pipe": {
  71. "TAGS": [
  72. "default",
  73. "snapshot"
  74. ],
  75. "steps": [
  76. "profile",
  77. "asset_profile",
  78. "test_cpu_profile",
  79. "test_impact_analysis_profile_native",
  80. "test_impact_analysis_profile_python"
  81. ]
  82. },
  83. "scrubbing": {
  84. "TAGS": [],
  85. "COMMAND": "python_windows.cmd",
  86. "PARAMETERS": {
  87. "SCRIPT_PATH": "scripts/build/scrubbing_job.py"
  88. }
  89. },
  90. "metrics": {
  91. "TAGS": [
  92. "weekly"
  93. ],
  94. "COMMAND": "python_windows.cmd",
  95. "PARAMETERS": {
  96. "SCRIPT_PATH": "scripts/build/ci_build_metrics.py",
  97. "SCRIPT_PARAMETERS": "--platform=Windows --repository=%REPOSITORY_NAME% --jobname=%JOB_NAME% --jobnumber=%BUILD_NUMBER% --jobnode=%NODE_LABEL% --changelist=%CHANGE_ID%"
  98. }
  99. },
  100. "test_impact_analysis_profile_native": {
  101. "TAGS": [
  102. ],
  103. "COMMAND": "python_windows.cmd",
  104. "PARAMETERS": {
  105. "OUTPUT_DIRECTORY": "build/windows",
  106. "CONFIGURATION": "profile",
  107. "SCRIPT_PATH": "scripts/build/TestImpactAnalysis/tiaf_driver.py",
  108. "SCRIPT_PARAMETERS":
  109. "--config=\"%OUTPUT_DIRECTORY%/bin/TestImpactFramework/profile/Persistent/tiaf.json\" --src-branch=%BRANCH_NAME% --dst-branch=%CHANGE_TARGET% --commit=%CHANGE_ID% --s3-bucket=%TEST_IMPACT_S3_BUCKET% --mars-index-prefix=o3de-tiaf --s3-top-level-dir=%REPOSITORY_NAME% --build-number=%BUILD_NUMBER% --suites smoke main --label-excludes REQUIRES_gpu --test-failure-policy=continue --runtime-type=native --target-output=stdout"
  110. }
  111. },
  112. "test_impact_analysis_profile_python": {
  113. "TAGS": [
  114. ],
  115. "COMMAND": "python_windows.cmd",
  116. "PARAMETERS": {
  117. "OUTPUT_DIRECTORY": "build/windows",
  118. "CONFIGURATION": "profile",
  119. "SCRIPT_PATH": "scripts/build/TestImpactAnalysis/tiaf_driver.py",
  120. "SCRIPT_PARAMETERS":
  121. "--config=\"%OUTPUT_DIRECTORY%/bin/TestImpactFramework/profile/Persistent/tiaf.json\" --src-branch=%BRANCH_NAME% --dst-branch=%CHANGE_TARGET% --commit=%CHANGE_ID% --s3-bucket=%TEST_IMPACT_S3_BUCKET% --mars-index-prefix=o3de-tiaf --s3-top-level-dir=%REPOSITORY_NAME% --build-number=%BUILD_NUMBER% --suites smoke main --label-excludes REQUIRES_gpu --test-failure-policy=continue --runtime-type=python --testrunner=live --target-output=stdout"
  122. }
  123. },
  124. "debug": {
  125. "TAGS": [
  126. "weekly-build-metrics"
  127. ],
  128. "COMMAND": "build_windows.cmd",
  129. "PARAMETERS": {
  130. "CONFIGURATION": "debug",
  131. "OUTPUT_DIRECTORY": "build\\windows",
  132. "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0",
  133. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  134. "CMAKE_TARGET": "ALL_BUILD",
  135. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo"
  136. }
  137. },
  138. "test_debug": {
  139. "TAGS": [
  140. "weekly-build-metrics"
  141. ],
  142. "COMMAND": "build_test_windows.cmd",
  143. "PARAMETERS": {
  144. "CONFIGURATION": "debug",
  145. "OUTPUT_DIRECTORY": "build\\windows",
  146. "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0",
  147. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  148. "CMAKE_TARGET": "TEST_SUITE_smoke TEST_SUITE_main",
  149. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo",
  150. "CTEST_OPTIONS": "-L \"(SUITE_smoke|SUITE_main)\" -LE \"(REQUIRES_gpu)\" -T Test --no-tests=error",
  151. "TEST_METRICS": "True",
  152. "TEST_RESULTS": "True"
  153. }
  154. },
  155. "profile": {
  156. "TAGS": [
  157. "daily-pipeline-metrics",
  158. "weekly-build-metrics"
  159. ],
  160. "COMMAND": "build_windows.cmd",
  161. "PARAMETERS": {
  162. "CONFIGURATION": "profile",
  163. "OUTPUT_DIRECTORY": "build\\windows",
  164. "CMAKE_OPTIONS": "-DCMAKE_SYSTEM_VERSION=10.0 -DO3DE_TEST_IMPACT_INSTRUMENTATION_BIN=%TEST_IMPACT_WIN_BINARY%",
  165. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  166. "CMAKE_TARGET": "ALL_BUILD",
  167. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo"
  168. }
  169. },
  170. "profile_vs2019": {
  171. "TAGS": [
  172. "periodic-incremental-daily",
  173. "periodic-clean-weekly-internal"
  174. ],
  175. "COMMAND": "build_windows.cmd",
  176. "PARAMETERS": {
  177. "CONFIGURATION": "profile",
  178. "OUTPUT_DIRECTORY": "build\\windows",
  179. "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0 -DO3DE_TEST_IMPACT_INSTRUMENTATION_BIN=%TEST_IMPACT_WIN_BINARY%",
  180. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  181. "CMAKE_TARGET": "ALL_BUILD",
  182. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo"
  183. }
  184. },
  185. "profile_nounity_vs2019": {
  186. "TAGS": [
  187. "periodic-incremental-daily",
  188. "periodic-clean-weekly-internal",
  189. "weekly-build-metrics"
  190. ],
  191. "COMMAND": "build_windows.cmd",
  192. "PARAMETERS": {
  193. "CONFIGURATION": "profile",
  194. "OUTPUT_DIRECTORY": "build\\windows",
  195. "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0 -DLY_UNITY_BUILD=FALSE",
  196. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  197. "CMAKE_TARGET": "ALL_BUILD",
  198. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo"
  199. }
  200. },
  201. "test_cpu_profile": {
  202. "TAGS": [
  203. "daily-pipeline-metrics",
  204. "weekly-build-metrics"
  205. ],
  206. "COMMAND": "build_test_windows.cmd",
  207. "PARAMETERS": {
  208. "CONFIGURATION": "profile",
  209. "OUTPUT_DIRECTORY": "build\\windows",
  210. "CMAKE_OPTIONS": "-DCMAKE_SYSTEM_VERSION=10.0 -DO3DE_TEST_IMPACT_NATIVE_TEST_TARGETS_ENABLED=TRUE -DO3DE_TEST_IMPACT_PYTHON_TEST_TARGETS_ENABLED=TRUE",
  211. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  212. "CMAKE_TARGET": "TEST_SUITE_smoke TEST_SUITE_main",
  213. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo",
  214. "CTEST_OPTIONS": "-L \"(SUITE_smoke|SUITE_main)\" -LE \"(REQUIRES_gpu|REQUIRES_tiaf)\" -T Test --no-tests=error",
  215. "TEST_METRICS": "True",
  216. "TEST_RESULTS": "True"
  217. }
  218. },
  219. "test_gpu_profile": {
  220. "TAGS":[
  221. "periodic-incremental-daily-internal",
  222. "periodic-clean-weekly-internal"
  223. ],
  224. "PIPELINE_ENV":{
  225. "NODE_LABEL":"windows-gpu"
  226. },
  227. "COMMAND": "build_test_windows.cmd",
  228. "PARAMETERS": {
  229. "CONFIGURATION": "profile",
  230. "OUTPUT_DIRECTORY": "build\\windows",
  231. "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0",
  232. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  233. "CMAKE_TARGET": "TEST_SUITE_smoke TEST_SUITE_main",
  234. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo",
  235. "CTEST_OPTIONS": "-L \"(SUITE_smoke_REQUIRES_gpu|SUITE_main_REQUIRES_gpu)\" -T Test --no-tests=error",
  236. "TEST_METRICS": "True",
  237. "TEST_RESULTS": "True",
  238. "TEST_SCREENSHOTS": "True"
  239. }
  240. },
  241. "benchmark_test_gpu_profile": {
  242. "TAGS": [
  243. "nightly-incremental-internal",
  244. "weekly-clean-internal",
  245. "weekly-build-metrics"
  246. ],
  247. "PIPELINE_ENV":{
  248. "NODE_LABEL":"windows-gpu"
  249. },
  250. "COMMAND": "build_test_windows.cmd",
  251. "PARAMETERS": {
  252. "CONFIGURATION": "profile",
  253. "OUTPUT_DIRECTORY": "build\\windows",
  254. "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0",
  255. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  256. "CMAKE_TARGET": "TEST_SUITE_benchmark",
  257. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo",
  258. "CTEST_OPTIONS": "-L \"(SUITE_benchmark_REQUIRES_gpu)\" -T Test --no-tests=error",
  259. "TEST_METRICS": "True",
  260. "TEST_RESULTS": "True"
  261. }
  262. },
  263. "asset_profile": {
  264. "TAGS": [
  265. "weekly-build-metrics"
  266. ],
  267. "COMMAND": "build_asset_windows.cmd",
  268. "PARAMETERS": {
  269. "CONFIGURATION": "profile",
  270. "OUTPUT_DIRECTORY": "build\\windows",
  271. "CMAKE_OPTIONS": "-DCMAKE_SYSTEM_VERSION=10.0",
  272. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  273. "CMAKE_TARGET": "AssetProcessorBatch",
  274. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo",
  275. "ASSET_PROCESSOR_BINARY": "bin\\profile\\AssetProcessorBatch.exe",
  276. "ASSET_PROCESSOR_OPTIONS": "--zeroAnalysisMode --ignoreFutureAssetDatabaseVersionError",
  277. "ASSET_PROCESSOR_PLATFORMS": "pc,server"
  278. }
  279. },
  280. "awsi_test_profile_pipe": {
  281. "TAGS": [
  282. "periodic-incremental-daily-internal",
  283. "periodic-clean-weekly-internal"
  284. ],
  285. "steps": [
  286. "awsi_deployment",
  287. "awsi_test_profile",
  288. "awsi_destruction"
  289. ]
  290. },
  291. "awsi_test_profile": {
  292. "TAGS": [
  293. "weekly-build-metrics"
  294. ],
  295. "PIPELINE_ENV": {
  296. "NONBLOCKING_STEP": "True"
  297. },
  298. "COMMAND": "build_test_windows.cmd",
  299. "PARAMETERS": {
  300. "CONFIGURATION": "profile",
  301. "OUTPUT_DIRECTORY": "build\\windows",
  302. "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0",
  303. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  304. "CMAKE_TARGET": "TEST_SUITE_awsi",
  305. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo",
  306. "CTEST_OPTIONS": "-L \"(SUITE_awsi)\" -T Test --no-tests=error",
  307. "TEST_METRICS": "True",
  308. "TEST_RESULTS": "True"
  309. }
  310. },
  311. "periodic_test_profile": {
  312. "TAGS": [
  313. "periodic-incremental-daily",
  314. "periodic-clean-weekly-internal",
  315. "weekly-build-metrics"
  316. ],
  317. "COMMAND": "build_test_windows.cmd",
  318. "PARAMETERS": {
  319. "CONFIGURATION": "profile",
  320. "OUTPUT_DIRECTORY": "build\\windows",
  321. "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0",
  322. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  323. "CMAKE_TARGET": "TEST_SUITE_periodic",
  324. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo",
  325. "CTEST_OPTIONS": "-L \"(SUITE_periodic)\" -LE \"(REQUIRES_gpu)\" -T Test --no-tests=error",
  326. "TEST_METRICS": "True",
  327. "TEST_RESULTS": "True"
  328. }
  329. },
  330. "periodic_test_gpu_profile": {
  331. "TAGS": [
  332. "periodic-incremental-daily-internal",
  333. "periodic-clean-weekly-internal",
  334. "weekly-build-metrics"
  335. ],
  336. "PIPELINE_ENV":{
  337. "NODE_LABEL":"windows-gpu"
  338. },
  339. "COMMAND": "build_test_windows.cmd",
  340. "PARAMETERS": {
  341. "CONFIGURATION": "profile",
  342. "OUTPUT_DIRECTORY": "build\\windows",
  343. "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0",
  344. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  345. "CMAKE_TARGET": "TEST_SUITE_periodic",
  346. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo",
  347. "CTEST_OPTIONS": "-L \"(SUITE_periodic_REQUIRES_gpu)\" -T Test --no-tests=error",
  348. "TEST_METRICS": "True",
  349. "TEST_RESULTS": "True"
  350. }
  351. },
  352. "sandbox_test_profile": {
  353. "TAGS": [
  354. "periodic-incremental-daily",
  355. "periodic-clean-weekly-internal",
  356. "weekly-build-metrics"
  357. ],
  358. "PIPELINE_ENV": {
  359. "ON_FAILURE_MARK": "UNSTABLE"
  360. },
  361. "COMMAND": "build_test_windows.cmd",
  362. "PARAMETERS": {
  363. "CONFIGURATION": "profile",
  364. "OUTPUT_DIRECTORY": "build\\windows",
  365. "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0",
  366. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  367. "CMAKE_TARGET": "TEST_SUITE_sandbox",
  368. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo",
  369. "CTEST_OPTIONS": "-L \"(SUITE_sandbox)\" -T Test --no-tests=error",
  370. "TEST_METRICS": "True",
  371. "TEST_RESULTS": "True"
  372. }
  373. },
  374. "benchmark_test_profile": {
  375. "TAGS": [
  376. "periodic-incremental-daily",
  377. "periodic-clean-weekly-internal",
  378. "weekly-build-metrics"
  379. ],
  380. "COMMAND": "build_test_windows.cmd",
  381. "PARAMETERS": {
  382. "CONFIGURATION": "profile",
  383. "OUTPUT_DIRECTORY": "build\\windows",
  384. "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0",
  385. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  386. "CMAKE_TARGET": "TEST_SUITE_benchmark",
  387. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo",
  388. "CTEST_OPTIONS": "-L (SUITE_benchmark) -LE (REQUIRES_gpu) -T Test --no-tests=error",
  389. "TEST_METRICS": "True",
  390. "TEST_RESULTS": "True"
  391. }
  392. },
  393. "release": {
  394. "TAGS": [
  395. "default",
  396. "weekly-build-metrics",
  397. "snapshot"
  398. ],
  399. "COMMAND": "build_windows.cmd",
  400. "PARAMETERS": {
  401. "CONFIGURATION": "release",
  402. "OUTPUT_DIRECTORY": "build\\windows",
  403. "CMAKE_OPTIONS": "-DCMAKE_SYSTEM_VERSION=10.0",
  404. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  405. "CMAKE_TARGET": "ALL_BUILD",
  406. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo"
  407. }
  408. },
  409. "release_vs2019": {
  410. "TAGS": [
  411. "periodic-incremental-daily",
  412. "weekly-build-metrics",
  413. "snapshot"
  414. ],
  415. "COMMAND": "build_windows.cmd",
  416. "PARAMETERS": {
  417. "CONFIGURATION": "release",
  418. "OUTPUT_DIRECTORY": "build\\windows",
  419. "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0",
  420. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  421. "CMAKE_TARGET": "ALL_BUILD",
  422. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo"
  423. }
  424. },
  425. "monolithic_release": {
  426. "TAGS": [
  427. "periodic-incremental-daily",
  428. "periodic-clean-weekly-internal",
  429. "weekly-build-metrics"
  430. ],
  431. "COMMAND": "build_windows.cmd",
  432. "PARAMETERS": {
  433. "CONFIGURATION": "release",
  434. "OUTPUT_DIRECTORY": "build\\mono_windows",
  435. "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0 -DLY_MONOLITHIC_GAME=TRUE",
  436. "CMAKE_LY_PROJECTS": "AutomatedTesting",
  437. "CMAKE_TARGET": "ALL_BUILD",
  438. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo"
  439. }
  440. },
  441. "install_profile": {
  442. "TAGS": [],
  443. "COMMAND": "build_windows.cmd",
  444. "PARAMETERS": {
  445. "CONFIGURATION": "profile",
  446. "OUTPUT_DIRECTORY": "build\\windows",
  447. "CMAKE_OPTIONS": "-DCMAKE_SYSTEM_VERSION=10.0 -DLY_DISABLE_TEST_MODULES=TRUE",
  448. "CMAKE_TARGET": "INSTALL",
  449. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo"
  450. }
  451. },
  452. "install_mono_release": {
  453. "TAGS": [],
  454. "PIPELINE_ENV": {
  455. "NODE_LABEL":"windows-packaging"
  456. },
  457. "COMMAND": "build_windows.cmd",
  458. "PARAMETERS": {
  459. "CONFIGURATION": "release",
  460. "OUTPUT_DIRECTORY": "build\\windows_mono",
  461. "CMAKE_OPTIONS": "-DCMAKE_SYSTEM_VERSION=10.0 -DLY_MONOLITHIC_GAME=TRUE -DLY_DISABLE_TEST_MODULES=TRUE",
  462. "CMAKE_TARGET": "INSTALL",
  463. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo"
  464. }
  465. },
  466. "installer_pipe": {
  467. "TAGS": [
  468. "periodic-clean-weekly-internal",
  469. "nightly-installer"
  470. ],
  471. "steps": [
  472. "install_mono_release",
  473. "install_mono_android_api_24_release",
  474. "installer",
  475. "installer_test"
  476. ]
  477. },
  478. "installer": {
  479. "TAGS": [],
  480. "PIPELINE_ENV": {
  481. "NODE_LABEL":"windows-packaging"
  482. },
  483. "COMMAND": "build_installer_windows.cmd",
  484. "PARAMETERS": {
  485. "CONFIGURATION": "profile",
  486. "OUTPUT_DIRECTORY": "build\\windows",
  487. "CMAKE_OPTIONS": "-DCMAKE_SYSTEM_VERSION=10.0 -DLY_DISABLE_TEST_MODULES=TRUE -DO3DE_INSTALL_ENGINE_NAME=o3de-sdk -DLY_INSTALLER_WIX_ROOT=\"!WIX! \"",
  488. "EXTRA_CMAKE_OPTIONS": "-DLY_INSTALLER_AUTO_GEN_TAG=TRUE -DLY_INSTALLER_DOWNLOAD_URL=!INSTALLER_DOWNLOAD_URL! -DLY_INSTALLER_LICENSE_URL=!INSTALLER_DOWNLOAD_URL!/license -DCPACK_INSTALLED_DIRECTORIES=\"!WORKSPACE!/o3de/install;/CORE\"",
  489. "CMAKE_TARGET": "ALL_BUILD",
  490. "CPACK_OPTIONS": "-D CPACK_UPLOAD_URL=\"!CPACK_UPLOAD_URL!\"",
  491. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo"
  492. }
  493. },
  494. "installer_test": {
  495. "TAGS": [],
  496. "PIPELINE_ENV": {
  497. "NODE_LABEL":"windows-installer-test"
  498. },
  499. "COMMAND": "pytest_windows.cmd",
  500. "PARAMETERS": {
  501. "PYTEST_PATH": "cmake\\Platform\\Windows\\Packaging\\Tests",
  502. "PYTEST_PARAMETERS": "--capture=no --log-file=%WORKSPACE%\\installer_test.log --install-root=%WORKSPACE%\\o3de_install --installer-uri=!INSTALLER_S3_BUCKET!!INSTALLER_S3_PATH! --project-path=%WORKSPACE%\\TestProject"
  503. }
  504. },
  505. "install_profile_pipe": {
  506. "TAGS": [
  507. "periodic-incremental-daily",
  508. "periodic-clean-weekly-internal"
  509. ],
  510. "PIPELINE_ENV": {
  511. "PROJECT_REPOSITORY_NAME": "TestProject"
  512. },
  513. "steps": [
  514. "install_profile",
  515. "project_generate",
  516. "project_engineinstall_profile"
  517. ]
  518. },
  519. "project_generate": {
  520. "TAGS": [],
  521. "COMMAND": "python_windows.cmd",
  522. "PARAMETERS": {
  523. "SCRIPT_PATH": "install\\scripts\\o3de.py",
  524. "SCRIPT_PARAMETERS": "create-project -pp %WORKSPACE%\\%PROJECT_REPOSITORY_NAME% --force"
  525. }
  526. },
  527. "project_enginesource_profile": {
  528. "TAGS": [
  529. "project"
  530. ],
  531. "PIPELINE_ENV": {
  532. "EXECUTE_FROM_PROJECT": "1"
  533. },
  534. "COMMAND": "build_windows.cmd",
  535. "PARAMETERS": {
  536. "CONFIGURATION": "profile",
  537. "OUTPUT_DIRECTORY": "build\\windows",
  538. "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0 -DCMAKE_MODULE_PATH=%WORKSPACE%/o3de/cmake",
  539. "CMAKE_TARGET": "ALL_BUILD",
  540. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo"
  541. }
  542. },
  543. "project_engineinstall_profile": {
  544. "TAGS": [],
  545. "PIPELINE_ENV": {
  546. "EXECUTE_FROM_PROJECT": "1"
  547. },
  548. "COMMAND": "build_windows.cmd",
  549. "PARAMETERS": {
  550. "COMMAND_CWD": "%WORKSPACE%\\%PROJECT_REPOSITORY_NAME%",
  551. "CONFIGURATION": "profile",
  552. "OUTPUT_DIRECTORY": "build\\windows",
  553. "CMAKE_OPTIONS": "-G \"Visual Studio 16 2019\" -DCMAKE_SYSTEM_VERSION=10.0 -DCMAKE_MODULE_PATH=%WORKSPACE%/o3de/install/cmake",
  554. "CMAKE_TARGET": "ALL_BUILD",
  555. "CMAKE_NATIVE_BUILD_ARGS": "/m /nologo"
  556. }
  557. },
  558. "project_engineinstall_profile_pipe": {
  559. "TAGS": [
  560. "project"
  561. ],
  562. "steps": [
  563. "install_profile",
  564. "project_engineinstall_profile"
  565. ]
  566. },
  567. "awsi_deployment": {
  568. "TAGS": [],
  569. "PIPELINE_ENV": {
  570. "NONBLOCKING_STEP": "True"
  571. },
  572. "COMMAND": "deploy_cdk_applications.cmd",
  573. "PARAMETERS": {
  574. "CDK_VERSION": "2.68.0"
  575. }
  576. },
  577. "awsi_destruction": {
  578. "TAGS": [],
  579. "PIPELINE_ENV": {
  580. "NONBLOCKING_STEP": "True"
  581. },
  582. "COMMAND": "destroy_cdk_applications.cmd",
  583. "PARAMETERS": {
  584. "CDK_VERSION": "2.68.0"
  585. }
  586. },
  587. "install_mono_android_api_24_release": {
  588. "TAGS": [],
  589. "PIPELINE_ENV": {
  590. "NODE_LABEL":"windows-packaging"
  591. },
  592. "COMMAND": "build_windows.cmd",
  593. "PARAMETERS": {
  594. "CONFIGURATION": "release",
  595. "OUTPUT_DIRECTORY": "build\\android_api_mono",
  596. "CMAKE_OPTIONS":"-G \"Ninja Multi-Config\" -DCMAKE_TOOLCHAIN_FILE=cmake\\Platform\\Android\\Toolchain_android.cmake -DLY_MONOLITHIC_GAME=TRUE -DLY_DISABLE_TEST_MODULES=TRUE -DANDROID_NATIVE_API_LEVEL=24 -DLY_NDK_DIR=\"C:/AndroidSdk/ndk/25.1.8937393\"",
  597. "CMAKE_TARGET": "install",
  598. "CMAKE_BUILD_ARGS":"-j!NUMBER_OF_PROCESSORS!"
  599. }
  600. },
  601. "install_mono_android_api_24_profile": {
  602. "TAGS": [],
  603. "PIPELINE_ENV": {
  604. "NODE_LABEL":"windows-packaging"
  605. },
  606. "COMMAND": "build_windows.cmd",
  607. "PARAMETERS": {
  608. "CONFIGURATION": "profile",
  609. "OUTPUT_DIRECTORY": "build\\android_api_mono",
  610. "CMAKE_OPTIONS":"-G \"Ninja Multi-Config\" -DCMAKE_TOOLCHAIN_FILE=cmake\\Platform\\Android\\Toolchain_android.cmake -DLY_MONOLITHIC_GAME=TRUE -DLY_DISABLE_TEST_MODULES=TRUE -DANDROID_NATIVE_API_LEVEL=24 -DLY_NDK_DIR=\"C:/AndroidSdk/ndk/25.1.8937393\"",
  611. "CMAKE_TARGET": "install",
  612. "CMAKE_BUILD_ARGS":"-j!NUMBER_OF_PROCESSORS!"
  613. }
  614. }
  615. }