Lines Matching +full:- +full:- +full:build
1 # This is the tag of the docker image used for the build jobs. If the
8 # versions of gcc/clang or other packages, which might break the build
18 - project: 'freedesktop/ci-templates'
21 - '/templates/debian.yml'
22 - '/templates/freebsd.yml'
23 - '/templates/ci-fairy.yml'
30 - "Base container"
31 - "Build"
33 .ci-rules:
35 - when: on_success
39 .os-debian:
43 …build-essential docbook-xsl libatomic-ops-dev libcairo2-dev libcunit1-dev libpciaccess-dev meson n…
47 FDO_DISTRIBUTION_TAG: "2021-08-03.0"
49 .debian-x86_64:
51 - .os-debian
53 BUILD_ARCH: "x86-64"
55 .debian-aarch64:
57 - .os-debian
61 .debian-armv7:
63 - .os-debian
67 .os-freebsd:
71 … FDO_DISTRIBUTION_PACKAGES: 'meson ninja pkgconf libpciaccess libpthread-stubs py38-docutils cairo'
74 FDO_DISTRIBUTION_TAG: "2021-11-10.1"
76 .freebsd-x86_64:
78 - .os-freebsd
82 # Build our base container image, which contains the core distribution, the
83 # toolchain, and all our build dependencies. This will be reused in the build
85 x86_64-debian-container_prep:
87 - .ci-rules
88 - .debian-x86_64
89 - .fdo.container-build@debian
94 aarch64-debian-container_prep:
96 - .ci-rules
97 - .debian-aarch64
98 - .fdo.container-build@debian
100 - aarch64
105 armv7-debian-container_prep:
107 - .ci-rules
108 - .debian-armv7
109 - .fdo.container-build@debian
111 - aarch64
117 x86_64-freebsd-container_prep:
119 - .ci-rules
120 - .freebsd-x86_64
121 - .fdo.qemu-build@freebsd@x86_64
126 # Core build environment.
127 .build-env:
129 MESON_BUILD_TYPE: "-Dbuildtype=debug -Doptimization=0 -Db_sanitize=address,undefined"
131 # OS/architecture-specific variants
132 .build-env-debian-x86_64:
134 - .fdo.suffixed-image@debian
135 - .debian-x86_64
136 - .build-env
138 - job: x86_64-debian-container_prep
141 .build-env-debian-aarch64:
143 - .fdo.suffixed-image@debian
144 - .debian-aarch64
145 - .build-env
151 # AArch64 than we would on ARMv7 or x86-64.
154 - aarch64
156 - job: aarch64-debian-container_prep
159 .build-env-debian-armv7:
161 - .fdo.suffixed-image@debian
162 - .debian-armv7
163 - .build-env
165 - aarch64
167 - job: armv7-debian-container_prep
170 .build-env-freebsd-x86_64:
175 MESON_BUILD_TYPE: "-Dbuildtype=debug -Db_sanitize=undefined -Db_lundef=false"
177 - .fdo.suffixed-image@freebsd
178 - .freebsd-x86_64
179 - .build-env
181 - job: x86_64-freebsd-container_prep
184 # BUILD
186 .do-build:
188 - .ci-rules
189 stage: "Build"
193 - meson build
194 -D amdgpu=true
195 -D cairo-tests=true
196 -D etnaviv=true
197 -D exynos=true
198 -D freedreno=true
199 -D freedreno-kgsl=true
200 -D intel=true
201 -D libkms=true
202 -D man-pages=true
203 -D nouveau=true
204 -D omap=true
205 -D radeon=true
206 -D tegra=true
207 -D udev=true
208 -D valgrind=auto
209 -D vc4=true
210 -D vmwgfx=true
211 - ninja -C build
212 - ninja -C build test
213 - DESTDIR=$PWD/install ninja -C build install
217 - build/meson-logs/*
219 .do-build-qemu:
221 - .ci-rules
222 stage: "Build"
225 - /app/vmctl start
226 - scp -r $PWD "vm:"
229 - |
231 …build -D amdgpu=true -D cairo-tests=true -D intel=true -D libkms=true -D man-pages=true -D nouveau…
232 set -ex
233 scp -r vm:$CI_PROJECT_NAME/build/meson-logs .
234 /app/vmctl exec "ninja -C $CI_PROJECT_NAME/build install"
235 mkdir -p $PREFIX && scp -r vm:$PREFIX/ $PREFIX/
237 - /app/vmctl stop
241 - build/meson-logs/*
243 # Full build and test.
244 x86_64-debian-build:
246 - .build-env-debian-x86_64
247 - .do-build
249 aarch64-debian-build:
251 - .build-env-debian-aarch64
252 - .do-build
254 armv7-debian-build:
256 - .build-env-debian-armv7
257 - .do-build
259 # Daily build
260 meson-arch-daily:
262 - if: '$SCHEDULE == "arch-daily"'
264 - when: never
265 image: archlinux/archlinux:base-devel
267 - pacman -Syu --noconfirm --needed
274 python-docutils
275 extends: .do-build
277 x86_64-freebsd-build:
279 - .build-env-freebsd-x86_64
280 - .do-build-qemu