Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/516>
- meson build
- cd build
- ninja
+ - ulimit -c 0 # don't dump core files on tests that are supposed to assert
- ninja test
- ninja test-daemon
+ - ninja dist
artifacts:
paths:
- build/
default_options : [ 'c_std=gnu11', 'cpp_std=c++11' ]
)
+meson.add_dist_script('scripts/save-tarball-version.sh', meson.project_version())
+
pa_version_str = meson.project_version()
# For tarballs, the first split will do nothing, but for builds in git, we
# split out suffixes when there are commits since the last tag
--- /dev/null
+#!/bin/bash
+
+if [ "x${1}" == "x" ]; then
+ echo "Package version must be specified to generate tarball version"
+ exit 1
+fi
+
+echo "${1}" > "$MESON_DIST_ROOT/.tarball-version"