CI: replace the dist script with invocations of the meson-build script
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1317>
This commit is contained in:
parent
cd6840f18e
commit
96b9bbe9fa
|
@ -113,7 +113,13 @@ meson-dist:
|
||||||
- $MESON_BUILDDIR/meson-logs/
|
- $MESON_BUILDDIR/meson-logs/
|
||||||
- $MESON_BUILDDIR/xserver-*/$MESON_BUILDDIR/meson-logs/
|
- $MESON_BUILDDIR/xserver-*/$MESON_BUILDDIR/meson-logs/
|
||||||
script:
|
script:
|
||||||
- .gitlab-ci/dist.sh
|
- .gitlab-ci/meson-build.sh --run-dist
|
||||||
|
- mkdir xserver-tarball
|
||||||
|
- tar xf $MESON_BUILDDIR/meson-dist/xserver-*.tar.xz -C xserver-tarball --strip-components=1
|
||||||
|
- .gitlab-ci/meson-build.sh -C xserver-tarball --skip-test --skip-dist --run-install
|
||||||
|
variables:
|
||||||
|
MESON_DIST_ARGS: --no-tests
|
||||||
|
DESTDIR: xserver-tarball/install/
|
||||||
|
|
||||||
#
|
#
|
||||||
# Verify that commit messages are as expected
|
# Verify that commit messages are as expected
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
#!/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
|
|
Loading…
Reference in New Issue