Files
xserver/.gitlab-ci/dist.sh
Michel Dänzer 81d91f7d01 ci: Move dist testing to a separate job
Multiple reasons, in particular:

* Doing it in every build & test job duplicates effort, resulting in
  the pipeline taking longer than necessary.
* We cannot limit the number of test processes spawned by meson dist.
* There's little point running tests for dist anyway, we just want to
  make sure we can build & install from the generated tarball.
2023-01-19 15:08:57 +01:00

15 lines
276 B
Bash
Executable File

#!/bin/bash
set -e
set -o xtrace
meson build/
meson dist --no-tests -C build/
cd build
tar xf meson-dist/xserver-*.tar.xz
cd xserver-*/
meson -Dc_args="-fno-common" -Dprefix=/usr -Dwerror=true build/
DESTDIR=$PWD/install/ ninja -j${FDO_CI_CONCURRENT:-4} -C build/ install