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