path: root/.ci
diff options
authorMarcel Hollerbach <marcel@osg.samsung.com>2018-05-15 13:36:44 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2018-05-16 13:49:41 +0200
commitb9a116b5bf029afcc098fa52b3c0efe2a4f619fa (patch)
treeec1b95d8b84d5ff7ddd86be4b29fcb9212b00a45 /.ci
parentci: travis: move macos build out of allowed failures (diff)
ci: test the installed parts of efl
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
Diffstat (limited to '.ci')
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 @@
+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
if [ "$CI_BUILD_TYPE" = "wayland" ]; then