Commit c6dbde14 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

CI: Android move to the newer kdeorg sdk image

parent 7e19574b
Pipeline #57823 passed with stages
in 11 minutes and 12 seconds
...@@ -81,25 +81,25 @@ build_clazy: ...@@ -81,25 +81,25 @@ build_clazy:
build_android: build_android:
stage: build stage: build
image: kdeorg/android-sdk image: kdeorg/android-aarch64-sdk
before_script: before_script:
- git clone https://git.savannah.gnu.org/git/freetype/freetype2.git --single-branch -b VER-2-8-1 - git clone https://git.savannah.gnu.org/git/freetype/freetype2.git --single-branch -b VER-2-8-1
- pushd freetype2 - 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" - CFLAGS=-std=gnu99 /opt/helpers/build-standalone "./autogen.sh && ./configure --enable-shared=no --prefix=/opt/popplerandroid-deps --host=${ANDROID_NDK_TOOLCHAIN_PREFIX} && make -j`nproc` && make install"
- popd - popd
script: script:
- mkdir -p build && cd build - mkdir -p build && cd build
- 'cmake -G Ninja .. -DCMAKE_SYSTEM_NAME=Android - 'cmake -G Ninja .. -DCMAKE_SYSTEM_NAME=Android
-DCMAKE_ANDROID_STL_TYPE=c++_shared -DCMAKE_ANDROID_STL_TYPE=c++_shared
-DCMAKE_ANDROID_API=24 -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a
-DCMAKE_ANDROID_API=28
-DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=clang -DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=clang
-DCMAKE_INSTALL_PREFIX="/opt/popplerandroid-deps" -DCMAKE_INSTALL_PREFIX="/opt/popplerandroid-deps"
-DCMAKE_PREFIX_PATH="$QT_ANDROID;/opt/popplerandroid-deps" -DCMAKE_PREFIX_PATH="$QT_ANDROID;/opt/popplerandroid-deps"
-DCMAKE_BUILD_TYPE=debug -DCMAKE_BUILD_TYPE=debug
-DCMAKE_POSITION_INDEPENDENT_CODE=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=OFF
-DENABLE_DCTDECODER=unmaintained -DENABLE_DCTDECODER=unmaintained
-DENABLE_LIBOPENJPEG=unmaintained -DENABLE_LIBOPENJPEG=unmaintained'
-DENABLE_CPP=OFF'
- ninja && ninja install - ninja && ninja install
qt5_docs: qt5_docs:
......
Markdown is supported
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