931791bf0b
Add a .gitlab-ci.yml file to run libglvnd's unit tests. The "build-distcheck" target will simply run "make distcheck". That should also cover running the unit tests for the x86-64 TLS build. The "build-i386", "build-i386-tsd", and "build-x86-64-tsd" targets will build and test the x86 TLS and TSD builds and the x86-64 TSD build. The pure C stubs aren't covered yet, but they'll be easy to add once the unit tests are fixed for them. ARM and PPC builds also aren't covered yet.
25 lines
382 B
Bash
25 lines
382 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
set -o xtrace
|
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
|
dpkg --add-architecture i386
|
|
|
|
apt-get update
|
|
apt-get install -y --no-remove --no-install-recommends \
|
|
autoconf \
|
|
automake \
|
|
pkg-config \
|
|
libtool \
|
|
libxext-dev \
|
|
libx11-dev \
|
|
x11proto-gl-dev \
|
|
python3 \
|
|
xvfb \
|
|
gcc-multilib \
|
|
libxext-dev:i386 \
|
|
libx11-dev:i386
|
|
|