aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2018-05-15 13:36:44 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2018-05-15 13:37:53 +0200
commita08a6b60169099006a1a35c9aa658112969359dd (patch)
tree04bfcb1b46be7ecac9fe1845ddbafa68c2a58f42
parentci: build with default prefix (diff)
downloadefl-devs/stefan/arcpatch-D6161.tar.gz
ci: test the installed parts of efldevs/stefan/arcpatch-D6161
Summary: ci for now was not testing if building against the installation of efl was working, this builds the lifegame example which ensures that elm is build correctly. Reviewers: stefan_schmidt Subscribers: cedric, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6160
-rwxr-xr-x.ci/build-efl-app.sh19
-rwxr-xr-x.ci/ci-linux-build.sh2
2 files changed, 21 insertions, 0 deletions
diff --git a/.ci/build-efl-app.sh b/.ci/build-efl-app.sh
new file mode 100755
index 0000000000..ac22e09db5
--- /dev/null
+++ b/.ci/build-efl-app.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+cd /
+
+#clone our examples from efl
+git clone http://git.enlightenment.org/tools/examples.git/
+
+cd examples/apps/c/life/
+
+#build the example
+mkdir build
+meson . ./build
+ninja -C build all
+
+#remove the folder again so its not left in the artifacts
+cd /
+rm -rf examples
diff --git a/.ci/ci-linux-build.sh b/.ci/ci-linux-build.sh
index 56c945120b..cb5e7e4a24 100755
--- a/.ci/ci-linux-build.sh
+++ b/.ci/ci-linux-build.sh
@@ -36,6 +36,8 @@ if [ "$CI_BUILD_TYPE" = "" ]; then
make -j $PARALLEL_JOBS check-build
make -j $PARALLEL_JOBS examples
make -j $PARALLEL_JOBS benchmark
+ make -j $PARALLEL_JOBS install
+ ./.ci/build-efl-app.sh
fi
if [ "$CI_BUILD_TYPE" = "wayland" ]; then