summaryrefslogtreecommitdiff
path: root/.ci/ci-configure.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/ci-configure.sh')
-rwxr-xr-x.ci/ci-configure.sh17
1 files changed, 16 insertions, 1 deletions
diff --git a/.ci/ci-configure.sh b/.ci/ci-configure.sh
index 77236ec655..75e16af1ec 100755
--- a/.ci/ci-configure.sh
+++ b/.ci/ci-configure.sh
@@ -17,6 +17,11 @@ if [ "$BUILDSYSTEM" = "ninja" ] ; then
17 17
18 RELEASE_READY_LINUX_COPTS=" --buildtype=release" 18 RELEASE_READY_LINUX_COPTS=" --buildtype=release"
19 19
20 MINGW_COPTS="--cross-file .ci/cross_toolchain.txt -Davahi=false -Deeze=false -Dsystemd=false \
21 -Dpulseaudio=false -Dx11=false -Dopengl=none -Dlibmount=false \
22 -Devas-loaders-disabler=pdf,ps,raw,svg -Devas-modules=static -Dbindings=luajit \
23 -Dbuild-examples=false -Dbuild-tests=false"
24
20 if [ "$1" = "options-enabled" ]; then 25 if [ "$1" = "options-enabled" ]; then
21 OPTS="$OPTS $ENABLED_LINUX_COPTS $WAYLAND_LINUX_COPTS" 26 OPTS="$OPTS $ENABLED_LINUX_COPTS $WAYLAND_LINUX_COPTS"
22 fi 27 fi
@@ -32,9 +37,19 @@ if [ "$BUILDSYSTEM" = "ninja" ] ; then
32 if [ "$1" = "release-ready" ]; then 37 if [ "$1" = "release-ready" ]; then
33 OPTS="$OPTS $RELEASE_READY_LINUX_COPTS" 38 OPTS="$OPTS $RELEASE_READY_LINUX_COPTS"
34 fi 39 fi
35 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \ 40
41 if [ "$1" = "mingw" ]; then
42 OPTS="$OPTS $MINGW_COPTS"
43 docker exec $(cat $HOME/cid) sh -c '.ci/bootstrap-efl-native-for-cross.sh'
44 fi
45 if [ "$1" = "mingw" ]; then
46 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env PKG_CONFIG_PATH="/ewpi-64-install/lib/pkgconfig/" \
47 $(cat $HOME/cid) sh -c "mkdir build && meson build $OPTS"
48 else
49 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
36 --env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \ 50 --env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \
37 --env LD="ld.gold" $(cat $HOME/cid) sh -c "mkdir build && meson build $OPTS" 51 --env LD="ld.gold" $(cat $HOME/cid) sh -c "mkdir build && meson build $OPTS"
52 fi
38 else 53 else
39 # Prepare OSX env for build 54 # Prepare OSX env for build
40 mkdir -p ~/Library/LaunchAgents 55 mkdir -p ~/Library/LaunchAgents