mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
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.
15 lines
276 B
Bash
Executable File
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
|