diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2018-07-12 09:07:55 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-07-12 14:38:31 +1000 |
commit | 3c4e793442b70cbcdfdf0307f683d13543b3c5c1 (patch) | |
tree | c968324c2983ae65910513b37d0e38d0fe687ad6 /.gitlab-ci.yml | |
parent | deadbf35c41dc4e740659e816445095e0819c196 (diff) | |
download | libinput-3c4e793442b70cbcdfdf0307f683d13543b3c5c1.tar.gz |
Gitlab CI: use a space in the meson builddir
Ideally this should catch any errors caused by reliance on unspaced
directories.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d253b892..5a9b4019 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,7 +45,7 @@ variables: UBUNTU_DEBS: 'git gcc g++ pkg-config meson check libudev-dev libevdev-dev doxygen graphviz valgrind binutils libwacom-dev libcairo2-dev libgtk-3-dev libglib2.0-dev libmtdev-dev' ARCH_PKGS: 'git gcc pkgconfig meson check libsystemd libevdev doxygen graphviz valgrind binutils libwacom gtk3 mtdev ' ############################ end of package lists ############################# - MESON_BUILDDIR: builddir + MESON_BUILDDIR: "build dir" NINJA_ARGS: 'test' MESON_ARGS: '' FEDORA_DOCKER_IMAGE: $CI_REGISTRY/libinput/$CI_PROJECT_NAME/fedora/$FEDORA_VERSION @@ -69,10 +69,10 @@ variables: # The default build instructions .default_build: &default_build script: - - rm -rf $MESON_BUILDDIR - - meson $MESON_BUILDDIR $MESON_ARGS - - meson configure $MESON_BUILDDIR - - ninja -C $MESON_BUILDDIR $NINJA_ARGS + - rm -rf "$MESON_BUILDDIR" + - meson "$MESON_BUILDDIR" $MESON_ARGS + - meson configure "$MESON_BUILDDIR" + - ninja -C "$MESON_BUILDDIR" $NINJA_ARGS # special rule to not expose the docker creation runners to other users # than those who have set up the CI to push on the registry. @@ -515,8 +515,8 @@ fedora:28@scan-build: before_script: - dnf install -y clang-analyzer findutils after_script: - - test ! -d $MESON_BUILDDIR/meson-logs/scanbuild && exit 0 - - test $(find $MESON_BUILDDIR/meson-logs/scanbuild -maxdepth 0 ! -empty -exec echo "not empty" \; | wc -l) -eq 0 && exit 0 + - test ! -d "$MESON_BUILDDIR"/meson-logs/scanbuild && exit 0 + - test $(find "$MESON_BUILDDIR"/meson-logs/scanbuild -maxdepth 0 ! -empty -exec echo "not empty" \; | wc -l) -eq 0 && exit 0 - echo "Check scan-build results" - /bin/false @@ -593,9 +593,9 @@ fedora:28@valgrind: variables: FEDORA_VERSION: 28 script: - - rm -rf $MESON_BUILDDIR - - meson $MESON_BUILDDIR $MESON_ARGS - - meson configure $MESON_BUILDDIR + - rm -rf "$MESON_BUILDDIR" + - meson "$MESON_BUILDDIR" $MESON_ARGS + - meson configure "$MESON_BUILDDIR" - meson test -C "$MESON_BUILDDIR" --setup=valgrind # |