aboutsummaryrefslogblamecommitdiffstats
path: root/.ci/ci-make-examples.sh
blob: ae8aa736cac05a8da6f96eb7ddf1998e34af96a8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


         
               


                                    
                                    

                                      
    





                                                                                                 
  
                       
#!/bin/sh

set -e
. .ci/travis.sh
if [ "$1" = "release-ready" ] ; then
  exit 0
fi
travis_fold examples "make examples"
if [ "$BUILDSYSTEM" = "ninja" ] ; then
  echo "TODO"
else
  if [ "$DISTRO" != "" ] ; then
    docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) make examples
  else
    export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
    make examples
  fi
fi
travis_endfold examples