build.yml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. .build:
  2. extends:
  3. - .build-rules
  4. - .container+build-rules
  5. stage: build
  6. artifacts:
  7. paths:
  8. - artifacts
  9. script:
  10. - FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash drivers/gpu/drm/ci/build.sh
  11. .build:arm32:
  12. extends:
  13. - .build
  14. - .use-debian/arm64_build
  15. tags:
  16. - aarch64
  17. variables:
  18. DEFCONFIG: "arch/arm/configs/multi_v7_defconfig"
  19. KERNEL_IMAGE_NAME: "zImage"
  20. KERNEL_ARCH: "arm"
  21. .build:arm64:
  22. extends:
  23. - .build
  24. - .use-debian/arm64_build
  25. tags:
  26. - aarch64
  27. variables:
  28. DEFCONFIG: "arch/arm64/configs/defconfig"
  29. KERNEL_IMAGE_NAME: "Image"
  30. KERNEL_ARCH: "arm64"
  31. .build:x86_64:
  32. extends:
  33. - .build
  34. - .use-debian/x86_64_build
  35. variables:
  36. DEFCONFIG: "arch/x86/configs/x86_64_defconfig"
  37. KERNEL_IMAGE_NAME: "bzImage"
  38. KERNEL_ARCH: "x86_64"
  39. # Build IGT for testing on devices
  40. igt:arm32:
  41. extends: .build:arm32
  42. script:
  43. - FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash drivers/gpu/drm/ci/build-igt.sh
  44. igt:arm64:
  45. extends: .build:arm64
  46. script:
  47. - FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash drivers/gpu/drm/ci/build-igt.sh
  48. igt:x86_64:
  49. extends: .build:x86_64
  50. script:
  51. - FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash drivers/gpu/drm/ci/build-igt.sh
  52. # Build kernels for testing on devices
  53. testing:arm32:
  54. extends: .build:arm32
  55. variables:
  56. # Would be good to have DEBUG_KMEMLEAK, but it doesn't work well with any of
  57. # PROVE_LOCKING and KASAN as of 5.17.
  58. #
  59. # db410c and db820c don't boot with KASAN_INLINE, probably due to the kernel
  60. # becoming too big for their bootloaders.
  61. ENABLE_KCONFIGS: "PROVE_LOCKING DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT"
  62. UPLOAD_TO_MINIO: 1
  63. MERGE_FRAGMENT: arm.config
  64. testing:arm64:
  65. extends: .build:arm64
  66. variables:
  67. # Would be good to have DEBUG_KMEMLEAK, but it doesn't work well with any of
  68. # PROVE_LOCKING and KASAN as of 5.17.
  69. #
  70. # db410c and db820c don't boot with KASAN_INLINE, probably due to the kernel
  71. # becoming too big for their bootloaders.
  72. ENABLE_KCONFIGS: "PROVE_LOCKING DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT"
  73. UPLOAD_TO_MINIO: 1
  74. MERGE_FRAGMENT: arm64.config
  75. testing:x86_64:
  76. extends: .build:x86_64
  77. variables:
  78. # Would be good to have DEBUG_KMEMLEAK, but it doesn't work well with any of
  79. # PROVE_LOCKING and KASAN as of 5.17.
  80. #
  81. # db410c and db820c don't boot with KASAN_INLINE, probably due to the kernel
  82. # becoming too big for their bootloaders.
  83. ENABLE_KCONFIGS: "PROVE_LOCKING DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT"
  84. UPLOAD_TO_MINIO: 1
  85. MERGE_FRAGMENT: x86_64.config
  86. # Jobs for build-testing different configurations
  87. build:arm32:
  88. extends: .build:arm32
  89. build-nodebugfs:arm64:
  90. extends: .build:arm64
  91. variables:
  92. DISABLE_KCONFIGS: "DEBUG_FS"
  93. ENABLE_KCONFIGS: "EXPERT DRM_MSM_VALIDATE_XML"
  94. build:x86_64:
  95. extends: .build:x86_64