.gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
New commits: commit 8315a1234fb4332d202e3a728938359777706daa Author: Aleix Pol <[email protected]> Date: Mon Nov 19 17:57:32 2018 +0100 Include an Android CI It uses the following image: https://phabricator.kde.org/source/sysadmin-ci-tooling/browse/master/system-images/android/sdk/Dockerfile-clang The one we are using now as kdeorg/android-sdk is still using GCC which can't compile poppler master (it can compile last stable version, but new features are used now and it can't cope). KDE will start using this clang version when Qt 5.12 releases and we know there's no major regressions, but poppler can already start doing so now. It only checks that poppler builds correctly, doesn't execute anything. diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d21b47f5..9b9b5ee8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -82,3 +82,26 @@ build_clazy: - mkdir -p build && cd build - CC=clang CXX=clazy CXXFLAGS="-Werror -Wno-cast-align -Wno-deprecated-declarations" cmake -G Ninja .. - CLAZY_CHECKS="level0,level1,level2,isempty-vs-count,qhash-with-char-pointer-key,tr-non-literal,no-non-pod-global-static" ninja + +build_android: + stage: build + image: apol/asdk:clang + before_script: + - git clone https://git.savannah.gnu.org/git/freetype/freetype2.git --single-branch -b VER-2-8-1 + - pushd freetype2 + - ANDROID_NDK_TOOLCHAIN_PREFIX=arm-linux-androideabi CFLAGS=-std=gnu99 /opt/helpers/build-standalone "./autogen.sh && ./configure --prefix=/opt/popplerandroid-deps --host=${ANDROID_NDK_TOOLCHAIN_PREFIX} && make -j`nproc` && make install" + - popd + script: + - mkdir -p build && cd build + - 'cmake -G Ninja .. -DCMAKE_SYSTEM_NAME=Android + -DCMAKE_ANDROID_STL_TYPE=c++_shared + -DCMAKE_ANDROID_API=24 + -DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=clang + -DCMAKE_INSTALL_PREFIX="/opt/popplerandroid-deps" + -DCMAKE_PREFIX_PATH="$QT_ANDROID;/opt/popplerandroid-deps" + -DCMAKE_BUILD_TYPE=debug + -DCMAKE_POSITION_INDEPENDENT_CODE=OFF + -DENABLE_DCTDECODER=unmaintained + -DENABLE_LIBOPENJPEG=unmaintained + -DENABLE_CPP=OFF' + - ninja && ninja install _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
