From 38949013f79d4671c31a2ecc94b4ba8a520cc559 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 20 Dec 2018 10:33:26 +1000 Subject: [PATCH] circleci: check for missing .device or .svg files Signed-off-by: Peter Hutterer --- circle.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/circle.yml b/circle.yml index d8142784..fb645b79 100644 --- a/circle.yml +++ b/circle.yml @@ -29,6 +29,13 @@ libratbag_references: run: name: Installing command: ninja -C build install + check_install: &check_install + run: + name: Checking installation + command: | + PREFIX=/usr/local/ + diff -u <(cd data/devices; ls *.device) <(cd $PREFIX/share/libratbag/devices; ls *.device) + diff -u <(cd data/gnome; ls *.svg) <(cd $PREFIX/share/libratbag/gnome; ls *.svg) check_uninstall: &check_uninstall run: name: Checking if any files are left after uninstall @@ -94,6 +101,7 @@ fedora_settings: &fedora_settings - *start_dbus - *build_and_test - *install + - *check_install - *check_uninstall - *export_logs @@ -113,6 +121,7 @@ ubuntu_settings: &ubuntu_settings - *start_dbus - *build_and_test - *install + - *check_install - *check_uninstall - *export_logs