Commit e55d439a authored by Tomi Valkeinen's avatar Tomi Valkeinen Committed by Arkadiusz Hiler

gitlab-CI: add armhf

Add CI for armhf environment.
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
parent c551087d
Pipeline #18957 passed with stages
in 24 minutes and 44 seconds
......@@ -58,6 +58,17 @@ build:tests-debian-meson:
paths:
- meson-test-list.txt
build:tests-debian-meson-armhf:
image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-armhf:latest
stage: build
script:
- export PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig/
- meson --cross-file meson-cross-armhf.txt build
- ninja -C build
artifacts:
paths:
- build
build:tests-debian-meson-arm64:
image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-arm64:latest
stage: build
......@@ -143,6 +154,23 @@ containers:igt-debian:
- docker build -t $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian -f Dockerfile.debian .
- docker push $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian
containers:igt-debian-armhf:
stage: containers
image: docker:stable
only:
changes:
- Dockerfile.debian-armhf
- .gitlab-ci.yml
services:
- docker:dind
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build -t $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-armhf -f Dockerfile.debian-armhf .
- docker push $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-armhf
containers:igt-debian-arm64:
stage: containers
image: docker:stable
......
FROM debian:stretch-backports
RUN apt-get update
RUN apt-get install -y \
flex \
bison \
pkg-config \
x11proto-dri2-dev \
python-docutils \
valgrind \
peg
RUN dpkg --add-architecture armhf
RUN apt-get update
RUN apt-get install -y \
gcc-arm-linux-gnueabihf \
libpciaccess-dev:armhf \
libkmod-dev:armhf \
libprocps-dev:armhf \
libunwind-dev:armhf \
libdw-dev:armhf \
zlib1g-dev:armhf \
liblzma-dev:armhf \
libcairo-dev:armhf \
libpixman-1-dev:armhf \
libudev-dev:armhf \
libgsl-dev:armhf \
libasound2-dev:armhf \
libjson-c-dev:armhf \
libcurl4-openssl-dev:armhf \
libxrandr-dev:armhf \
libxv-dev:armhf
RUN apt-get install -t stretch-backports -y \
meson \
libdrm-dev:armhf \
qemu-user \
qemu-user-static
# autotools build deps
RUN apt-get install -y \
autoconf \
automake \
xutils-dev \
libtool \
make
[binaries]
c = '/usr/bin/arm-linux-gnueabihf-gcc'
ar = '/usr/bin/arm-linux-gnueabihf-gcc-ar'
strip = '/usr/bin/arm-linux-gnueabihf-strip'
pkgconfig = 'pkg-config'
exe_wrapper = 'qemu-arm'
[host_machine]
system = 'linux'
cpu_family = 'arm'
cpu = 'armv7'
endian = 'little'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment