Commit 8315a123 authored by Aleix Pol's avatar Aleix Pol
Browse files

Include an Android CI

It uses the following image:

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.
parent 709f2e8d
......@@ -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
stage: build
image: apol/asdk:clang
- git clone --single-branch -b VER-2-8-1
- pushd freetype2
- ANDROID_NDK_TOOLCHAIN_PREFIX=arm-linux-androideabi CFLAGS=-std=gnu99 /opt/helpers/build-standalone "./ && ./configure --prefix=/opt/popplerandroid-deps --host=${ANDROID_NDK_TOOLCHAIN_PREFIX} && make -j`nproc` && make install"
- popd
- mkdir -p build && cd build
- 'cmake -G Ninja .. -DCMAKE_SYSTEM_NAME=Android
- ninja && ninja install
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment