Commit graph

6 commits

Author SHA1 Message Date
Matt Turner 08467b4d7d gitlab-ci: Build with -Werror
The next commit will remove -Werror from the default autotools and meson
builds, but we would like to continue treating warnings as errors in CI.
2020-06-25 11:59:38 -07:00
Kyle Brenneman 27251993ba gitlab-ci: Use xvfb-run
Change the CI scripts to use xvfb-run instead of running Xvfb directly.

That avoids a potential race condition, where a test could fail because Xvfb
hasn't started listening for connections yet. xvfb-run will wait for Xvfb to be
ready before it runs any other programs.

That also simplifies error handling, because the CI scripts can just use
"set -e" instead of having to store the exit code, kill Xvfb, and then check
for an error.
2019-12-13 07:05:41 -07:00
Dylan Baker cdf63cfcd5 gitlab-ci: Also run meson from the dist tarball 2019-12-05 12:01:36 -08:00
Dylan Baker bc908ed8dd gitlab-ci: Add meson build support 2019-12-05 12:01:36 -08:00
Dylan Baker e10e423c3c gitlab-ci: Install meson dependencies for meson building 2019-12-05 12:01:36 -08:00
Kyle Brenneman 931791bf0b Add GitLab CI configuration.
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.
2019-10-28 16:01:45 -06:00