Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
[qemu.git] / .gitlab-ci.d / crossbuilds.yml
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
25 cross-armel-system:
26   <<: *cross_system_build_job_definition
27   variables:
28     IMAGE: debian-armel-cross
29
30 cross-armel-user:
31   <<: *cross_user_build_job_definition
32   variables:
33     IMAGE: debian-armel-cross
34
35 cross-armhf-system:
36   <<: *cross_system_build_job_definition
37   variables:
38     IMAGE: debian-armhf-cross
39
40 cross-armhf-user:
41   <<: *cross_user_build_job_definition
42   variables:
43     IMAGE: debian-armhf-cross
44
45 cross-arm64-system:
46   <<: *cross_system_build_job_definition
47   variables:
48     IMAGE: debian-arm64-cross
49
50 cross-arm64-user:
51   <<: *cross_user_build_job_definition
52   variables:
53     IMAGE: debian-arm64-cross
54
55 cross-mips-system:
56   <<: *cross_system_build_job_definition
57   variables:
58     IMAGE: debian-mips-cross
59
60 cross-mips-user:
61   <<: *cross_user_build_job_definition
62   variables:
63     IMAGE: debian-mips-cross
64
65 cross-mipsel-system:
66   <<: *cross_system_build_job_definition
67   variables:
68     IMAGE: debian-mipsel-cross
69
70 cross-mipsel-user:
71   <<: *cross_user_build_job_definition
72   variables:
73     IMAGE: debian-mipsel-cross
74
75 cross-mips64el-system:
76   <<: *cross_system_build_job_definition
77   variables:
78     IMAGE: debian-mips64el-cross
79
80 cross-mips64el-user:
81   <<: *cross_user_build_job_definition
82   variables:
83     IMAGE: debian-mips64el-cross
84
85 cross-ppc64el-system:
86   <<: *cross_system_build_job_definition
87   variables:
88     IMAGE: debian-ppc64el-cross
89
90 cross-ppc64el-user:
91   <<: *cross_user_build_job_definition
92   variables:
93     IMAGE: debian-ppc64el-cross
94
95 cross-s390x-system:
96   <<: *cross_system_build_job_definition
97   variables:
98     IMAGE: debian-s390x-cross
99
100 cross-s390x-user:
101   <<: *cross_user_build_job_definition
102   variables:
103     IMAGE: debian-s390x-cross
104
105 cross-win32-system:
106   <<: *cross_system_build_job_definition
107   variables:
108     IMAGE: debian-win32-cross
109
110 cross-win64-system:
111   <<: *cross_system_build_job_definition
112   variables:
113     IMAGE: debian-win64-cross