diff options
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/travis-build-github-lambda.sh | 3 | ||||
-rwxr-xr-x | build-aux/travis-build.sh | 9 | ||||
-rwxr-xr-x | build-aux/travis-deploy.sh | 2 |
3 files changed, 11 insertions, 3 deletions
diff --git a/build-aux/travis-build-github-lambda.sh b/build-aux/travis-build-github-lambda.sh index 711ed79..6a46c05 100755 --- a/build-aux/travis-build-github-lambda.sh +++ b/build-aux/travis-build-github-lambda.sh @@ -24,7 +24,8 @@ pushd build > /dev/null --disable-tests \ --disable-valgrind \ --disable-git-receiver \ - --disable-runserver + --disable-runserver \ + --enable-make-embedded popd > /dev/null make -C build LDFLAGS="-all-static" blogc diff --git a/build-aux/travis-build.sh b/build-aux/travis-build.sh index 70b2475..8725a0b 100755 --- a/build-aux/travis-build.sh +++ b/build-aux/travis-build.sh @@ -7,6 +7,12 @@ if [[ "x${TARGET}" = "xblogc-github-lambda" ]]; then exit $? fi +MAKE_CONFIGURE="--enable-make" +if [[ "x${TARGET}" = "xblogc-make-embedded" ]]; then + MAKE_CONFIGURE="--enable-make-embedded" + TARGET="check" +fi + rm -rf build mkdir -p build @@ -18,7 +24,8 @@ pushd build > /dev/null --enable-tests \ --enable-valgrind \ --enable-git-receiver \ - --enable-runserver + --enable-runserver \ + ${MAKE_CONFIGURE} popd > /dev/null make -C build "${TARGET}" diff --git a/build-aux/travis-deploy.sh b/build-aux/travis-deploy.sh index def5e9b..07248a2 100755 --- a/build-aux/travis-deploy.sh +++ b/build-aux/travis-deploy.sh @@ -12,7 +12,7 @@ if [[ "x${TRAVIS_BRANCH}" != "xmaster" ]] && [[ "x${TRAVIS_TAG}" != xv* ]]; then exit 0 fi -if [[ "x${CC}" != "xgcc" ]] || [[ "x${TARGET}" = "xvalgrind" ]]; then +if [[ "x${CC}" != "xgcc" ]] || [[ "x${TARGET}" = "xvalgrind" ]] || [[ "x${TARGET}" = "xblogc-make-embedded"; then echo "Invalid target for deploy. skipping ..." exit 0 fi |