mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
ci: Move build job script to a separate file
Will make it easier to do more complex shell stuff. No functional change intended. v2: * Use /bin/bash instead of /bin/sh (Peter Hutterer) * Export environment variables on a separate line (Peter) * Use "set" command instead of shell command line arguments, for consistency with debian-install.sh.
This commit is contained in:
committed by
Michel Dänzer
parent
3d7df9b452
commit
67bca99637
11
.gitlab-ci/build-and-test.sh
Executable file
11
.gitlab-ci/build-and-test.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -o xtrace
|
||||
|
||||
meson -Dc_args="-fno-common" -Dprefix=/usr -Dxephyr=true -Dwerror=true $MESON_EXTRA_OPTIONS build/
|
||||
|
||||
ninja -j${FDO_CI_CONCURRENT:-4} -C build/ dist
|
||||
|
||||
export PIGLIT_DIR=/root/piglit XTEST_DIR=/root/xts
|
||||
ninja -j${FDO_CI_CONCURRENT:-4} -C build/ test
|
||||
Reference in New Issue
Block a user