xref: /openbmc/qemu/.gitlab-ci.d/crossbuilds.yml (revision e6b5a071)
1
2.cross_system_build_job_template: &cross_system_build_job_definition
3  stage: build
4  image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
5  timeout: 80m
6  script:
7    - mkdir build
8    - cd build
9    - PKG_CONFIG_PATH=$PKG_CONFIG_PATH
10      ../configure --enable-werror $QEMU_CONFIGURE_OPTS --disable-user
11        --target-list-exclude="aarch64-softmmu i386-softmmu microblaze-softmmu
12          mips-softmmu mipsel-softmmu mips64-softmmu ppc64-softmmu sh4-softmmu
13          xtensa-softmmu"
14    - make -j$(expr $(nproc) + 1) all check-build
15
16.cross_user_build_job_template: &cross_user_build_job_definition
17  stage: build
18  image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
19  script:
20    - mkdir build
21    - cd build
22    - PKG_CONFIG_PATH=$PKG_CONFIG_PATH
23      ../configure --enable-werror $QEMU_CONFIGURE_OPTS --disable-system
24    - make -j$(expr $(nproc) + 1) all check-build
25
26cross-armel-system:
27  <<: *cross_system_build_job_definition
28  variables:
29    IMAGE: debian-armel-cross
30
31cross-armel-user:
32  <<: *cross_user_build_job_definition
33  variables:
34    IMAGE: debian-armel-cross
35
36cross-armhf-system:
37  <<: *cross_system_build_job_definition
38  variables:
39    IMAGE: debian-armhf-cross
40
41cross-armhf-user:
42  <<: *cross_user_build_job_definition
43  variables:
44    IMAGE: debian-armhf-cross
45
46cross-arm64-system:
47  <<: *cross_system_build_job_definition
48  variables:
49    IMAGE: debian-arm64-cross
50
51cross-arm64-user:
52  <<: *cross_user_build_job_definition
53  variables:
54    IMAGE: debian-arm64-cross
55
56cross-mips-system:
57  <<: *cross_system_build_job_definition
58  variables:
59    IMAGE: debian-mips-cross
60
61cross-mips-user:
62  <<: *cross_user_build_job_definition
63  variables:
64    IMAGE: debian-mips-cross
65
66cross-mipsel-system:
67  <<: *cross_system_build_job_definition
68  variables:
69    IMAGE: debian-mipsel-cross
70
71cross-mipsel-user:
72  <<: *cross_user_build_job_definition
73  variables:
74    IMAGE: debian-mipsel-cross
75
76cross-mips64el-system:
77  <<: *cross_system_build_job_definition
78  variables:
79    IMAGE: debian-mips64el-cross
80
81cross-mips64el-user:
82  <<: *cross_user_build_job_definition
83  variables:
84    IMAGE: debian-mips64el-cross
85
86cross-ppc64el-system:
87  <<: *cross_system_build_job_definition
88  variables:
89    IMAGE: debian-ppc64el-cross
90
91cross-ppc64el-user:
92  <<: *cross_user_build_job_definition
93  variables:
94    IMAGE: debian-ppc64el-cross
95
96cross-s390x-system:
97  <<: *cross_system_build_job_definition
98  variables:
99    IMAGE: debian-s390x-cross
100
101cross-s390x-user:
102  <<: *cross_user_build_job_definition
103  variables:
104    IMAGE: debian-s390x-cross
105
106cross-win32-system:
107  <<: *cross_system_build_job_definition
108  variables:
109    IMAGE: fedora-win32-cross
110
111cross-win64-system:
112  <<: *cross_system_build_job_definition
113  variables:
114    IMAGE: fedora-win64-cross
115