aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/ci-make-install.sh
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-10 12:14:27 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2018-07-26 08:55:58 +0200
commit45988ac6c0c8ca661601dcd9fdf10171a13568c7 (patch)
tree3640f1536a90d70ac27a663ab979c17de4c81730 /.ci/ci-make-install.sh
parentee_wayland: Update maximize and fullscreen state after configure (diff)
downloadefl-45988ac6c0c8ca661601dcd9fdf10171a13568c7.tar.gz
ci: refactor all build steps into separate build scripts
this moves each step of the ci build into a separate script with the build type passed as an argument, allowing for easier modification of each individual step as necessary and making travis.yml more readable Differential Revision: https://phab.enlightenment.org/D6604 also includes: ci: break out make commands into travis.yml from build scripts this simplifies the platform-specific build scripts to only perform the configure stage of the build (and any additional setup) and then uses standardized commands for the build in addition to being simpler, this will also provide more/better info about build timings ref https://phab.enlightenment.org/D6603
Diffstat (limited to '.ci/ci-make-install.sh')
-rwxr-xr-x.ci/ci-make-install.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/.ci/ci-make-install.sh b/.ci/ci-make-install.sh
new file mode 100755
index 0000000000..9856179080
--- /dev/null
+++ b/.ci/ci-make-install.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "release-ready" ] ; then
+ exit 0
+fi
+
+if [ "$DISTRO" != "" ] ; then
+ docker exec --env MAKEFLAGS="-j5" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) make install
+else
+ export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
+ make install
+fi