162306a36Sopenharmony_ci.build:
262306a36Sopenharmony_ci  extends:
362306a36Sopenharmony_ci    - .build-rules
462306a36Sopenharmony_ci  stage: build
562306a36Sopenharmony_ci  artifacts:
662306a36Sopenharmony_ci    paths:
762306a36Sopenharmony_ci      - artifacts
862306a36Sopenharmony_ci  script:
962306a36Sopenharmony_ci    - FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash drivers/gpu/drm/ci/build.sh
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci.build:arm32:
1262306a36Sopenharmony_ci  extends:
1362306a36Sopenharmony_ci    - .build
1462306a36Sopenharmony_ci    - .use-debian/arm64_build
1562306a36Sopenharmony_ci  tags:
1662306a36Sopenharmony_ci    - aarch64
1762306a36Sopenharmony_ci  variables:
1862306a36Sopenharmony_ci    DEFCONFIG: "arch/arm/configs/multi_v7_defconfig"
1962306a36Sopenharmony_ci    KERNEL_IMAGE_NAME: "zImage"
2062306a36Sopenharmony_ci    KERNEL_ARCH: "arm"
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci.build:arm64:
2362306a36Sopenharmony_ci  extends:
2462306a36Sopenharmony_ci    - .build
2562306a36Sopenharmony_ci    - .use-debian/arm64_build
2662306a36Sopenharmony_ci  tags:
2762306a36Sopenharmony_ci    - aarch64
2862306a36Sopenharmony_ci  variables:
2962306a36Sopenharmony_ci    DEFCONFIG: "arch/arm64/configs/defconfig"
3062306a36Sopenharmony_ci    KERNEL_IMAGE_NAME: "Image"
3162306a36Sopenharmony_ci    KERNEL_ARCH: "arm64"
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci.build:x86_64:
3462306a36Sopenharmony_ci  extends:
3562306a36Sopenharmony_ci    - .build
3662306a36Sopenharmony_ci    - .use-debian/x86_64_build
3762306a36Sopenharmony_ci  variables:
3862306a36Sopenharmony_ci    DEFCONFIG: "arch/x86/configs/x86_64_defconfig"
3962306a36Sopenharmony_ci    KERNEL_IMAGE_NAME: "bzImage"
4062306a36Sopenharmony_ci    KERNEL_ARCH: "x86_64"
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ci# Build IGT for testing on devices
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciigt:arm32:
4662306a36Sopenharmony_ci  extends: .build:arm32
4762306a36Sopenharmony_ci  script:
4862306a36Sopenharmony_ci    - FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash drivers/gpu/drm/ci/build-igt.sh
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciigt:arm64:
5162306a36Sopenharmony_ci  extends: .build:arm64
5262306a36Sopenharmony_ci  script:
5362306a36Sopenharmony_ci    - FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash drivers/gpu/drm/ci/build-igt.sh
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ciigt:x86_64:
5662306a36Sopenharmony_ci  extends: .build:x86_64
5762306a36Sopenharmony_ci  script:
5862306a36Sopenharmony_ci    - FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash drivers/gpu/drm/ci/build-igt.sh
5962306a36Sopenharmony_ci
6062306a36Sopenharmony_ci# Build kernels for testing on devices
6162306a36Sopenharmony_ci
6262306a36Sopenharmony_citesting:arm32:
6362306a36Sopenharmony_ci  extends: .build:arm32
6462306a36Sopenharmony_ci  variables:
6562306a36Sopenharmony_ci    # Would be good to have DEBUG_KMEMLEAK, but it doesn't work well with any of
6662306a36Sopenharmony_ci    # PROVE_LOCKING and KASAN as of 5.17.
6762306a36Sopenharmony_ci    #
6862306a36Sopenharmony_ci    # db410c and db820c don't boot with KASAN_INLINE, probably due to the kernel
6962306a36Sopenharmony_ci    # becoming too big for their bootloaders.
7062306a36Sopenharmony_ci    ENABLE_KCONFIGS: "PROVE_LOCKING DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT"
7162306a36Sopenharmony_ci    UPLOAD_TO_MINIO: 1
7262306a36Sopenharmony_ci    MERGE_FRAGMENT: arm.config
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_citesting:arm64:
7562306a36Sopenharmony_ci  extends: .build:arm64
7662306a36Sopenharmony_ci  variables:
7762306a36Sopenharmony_ci    # Would be good to have DEBUG_KMEMLEAK, but it doesn't work well with any of
7862306a36Sopenharmony_ci    # PROVE_LOCKING and KASAN as of 5.17.
7962306a36Sopenharmony_ci    #
8062306a36Sopenharmony_ci    # db410c and db820c don't boot with KASAN_INLINE, probably due to the kernel
8162306a36Sopenharmony_ci    # becoming too big for their bootloaders.
8262306a36Sopenharmony_ci    ENABLE_KCONFIGS: "PROVE_LOCKING DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT"
8362306a36Sopenharmony_ci    UPLOAD_TO_MINIO: 1
8462306a36Sopenharmony_ci    MERGE_FRAGMENT: arm64.config
8562306a36Sopenharmony_ci
8662306a36Sopenharmony_citesting:x86_64:
8762306a36Sopenharmony_ci  extends: .build:x86_64
8862306a36Sopenharmony_ci  variables:
8962306a36Sopenharmony_ci    # Would be good to have DEBUG_KMEMLEAK, but it doesn't work well with any of
9062306a36Sopenharmony_ci    # PROVE_LOCKING and KASAN as of 5.17.
9162306a36Sopenharmony_ci    #
9262306a36Sopenharmony_ci    # db410c and db820c don't boot with KASAN_INLINE, probably due to the kernel
9362306a36Sopenharmony_ci    # becoming too big for their bootloaders.
9462306a36Sopenharmony_ci    ENABLE_KCONFIGS: "PROVE_LOCKING DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT"
9562306a36Sopenharmony_ci    UPLOAD_TO_MINIO: 1
9662306a36Sopenharmony_ci    MERGE_FRAGMENT: x86_64.config
9762306a36Sopenharmony_ci
9862306a36Sopenharmony_ci
9962306a36Sopenharmony_ci# Jobs for build-testing different configurations
10062306a36Sopenharmony_ci
10162306a36Sopenharmony_cibuild:arm32:
10262306a36Sopenharmony_ci  extends: .build:arm32
10362306a36Sopenharmony_ci
10462306a36Sopenharmony_cibuild-nodebugfs:arm64:
10562306a36Sopenharmony_ci  extends: .build:arm64
10662306a36Sopenharmony_ci  variables:
10762306a36Sopenharmony_ci    DISABLE_KCONFIGS: "DEBUG_FS"
10862306a36Sopenharmony_ci
10962306a36Sopenharmony_cibuild:x86_64:
11062306a36Sopenharmony_ci  extends: .build:x86_64
111