diff options
author | Marcel Hollerbach <marcel@osg.samsung.com> | 2018-05-15 13:36:44 +0200 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2018-05-16 13:49:41 +0200 |
commit | b9a116b5bf029afcc098fa52b3c0efe2a4f619fa (patch) | |
tree | ec1b95d8b84d5ff7ddd86be4b29fcb9212b00a45 /.ci | |
parent | d292592e02c55ab673e41e1250a1b2daa5ece9b9 (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')
-rwxr-xr-x | .ci/build-efl-app.sh | 19 | ||||
-rwxr-xr-x | .ci/ci-linux-build.sh | 2 |
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 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | set -e | ||
4 | |||
5 | cd / | ||
6 | |||
7 | #clone our examples from efl | ||
8 | git clone http://git.enlightenment.org/tools/examples.git/ | ||
9 | |||
10 | cd examples/apps/c/life/ | ||
11 | |||
12 | #build the example | ||
13 | mkdir build | ||
14 | meson . ./build | ||
15 | ninja -C build all | ||
16 | |||
17 | #remove the folder again so its not left in the artifacts | ||
18 | cd / | ||
19 | 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 | |||
36 | make -j $PARALLEL_JOBS check-build | 36 | make -j $PARALLEL_JOBS check-build |
37 | make -j $PARALLEL_JOBS examples | 37 | make -j $PARALLEL_JOBS examples |
38 | make -j $PARALLEL_JOBS benchmark | 38 | make -j $PARALLEL_JOBS benchmark |
39 | make -j $PARALLEL_JOBS install | ||
40 | ./.ci/build-efl-app.sh | ||
39 | fi | 41 | fi |
40 | 42 | ||
41 | if [ "$CI_BUILD_TYPE" = "wayland" ]; then | 43 | if [ "$CI_BUILD_TYPE" = "wayland" ]; then |