aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.d/crossbuilds.yml
blob: 4ec7226b5c3cd7de5019ba60ccac1316f72400e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113

.cross_system_build_job_template: &cross_system_build_job_definition
  stage: build
  image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
  script:
    - mkdir build
    - cd build
    - PKG_CONFIG_PATH=$PKG_CONFIG_PATH
      ../configure --enable-werror $QEMU_CONFIGURE_OPTS --disable-user
        --target-list-exclude="aarch64-softmmu i386-softmmu microblaze-softmmu
          mips-softmmu mipsel-softmmu mips64-softmmu ppc64-softmmu sh4-softmmu
          xtensa-softmmu"
    - make -j$(expr $(nproc) + 1) all check-build

.cross_user_build_job_template: &cross_user_build_job_definition
  stage: build
  image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
  script:
    - mkdir build
    - cd build
    - PKG_CONFIG_PATH=$PKG_CONFIG_PATH
      ../configure --enable-werror $QEMU_CONFIGURE_OPTS --disable-system
    - make -j$(expr $(nproc) + 1) all check-build

cross-armel-system:
  <<: *cross_system_build_job_definition
  variables:
    IMAGE: debian-armel-cross

cross-armel-user:
  <<: *cross_user_build_job_definition
  variables:
    IMAGE: debian-armel-cross

cross-armhf-system:
  <<: *cross_system_build_job_definition
  variables:
    IMAGE: debian-armhf-cross

cross-armhf-user:
  <<: *cross_user_build_job_definition
  variables:
    IMAGE: debian-armhf-cross

cross-arm64-system:
  <<: *cross_system_build_job_definition
  variables:
    IMAGE: debian-arm64-cross

cross-arm64-user:
  <<: *cross_user_build_job_definition
  variables:
    IMAGE: debian-arm64-cross

cross-mips-system:
  <<: *cross_system_build_job_definition
  variables:
    IMAGE: debian-mips-cross

cross-mips-user:
  <<: *cross_user_build_job_definition
  variables:
    IMAGE: debian-mips-cross

cross-mipsel-system:
  <<: *cross_system_build_job_definition
  variables:
    IMAGE: debian-mipsel-cross

cross-mipsel-user:
  <<: *cross_user_build_job_definition
  variables:
    IMAGE: debian-mipsel-cross

cross-mips64el-system:
  <<: *cross_system_build_job_definition
  variables:
    IMAGE: debian-mips64el-cross

cross-mips64el-user:
  <<: *cross_user_build_job_definition
  variables:
    IMAGE: debian-mips64el-cross

cross-ppc64el-system:
  <<: *cross_system_build_job_definition
  variables:
    IMAGE: debian-ppc64el-cross

cross-ppc64el-user:
  <<: *cross_user_build_job_definition
  variables:
    IMAGE: debian-ppc64el-cross

cross-s390x-system:
  <<: *cross_system_build_job_definition
  variables:
    IMAGE: debian-s390x-cross

cross-s390x-user:
  <<: *cross_user_build_job_definition
  variables:
    IMAGE: debian-s390x-cross

cross-win32-system:
  <<: *cross_system_build_job_definition
  variables:
    IMAGE: debian-win32-cross

cross-win64-system:
  <<: *cross_system_build_job_definition
  variables:
    IMAGE: debian-win64-cross