mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 21:15:36 +00:00
Give psi29a's custom android-ndk22 a go
This commit is contained in:
parent
ec63546a37
commit
365739d609
3 changed files with 7 additions and 10 deletions
|
@ -458,23 +458,21 @@ Windows_MSBuild_Tests_RelWithDebInfo:
|
||||||
Debian_AndroidNDK_arm64-v8a:
|
Debian_AndroidNDK_arm64-v8a:
|
||||||
tags:
|
tags:
|
||||||
- linux
|
- linux
|
||||||
image: debian:bullseye
|
image: psi29a/android-ndk:focal-ndk22
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == "push"
|
- if: $CI_PIPELINE_SOURCE == "push"
|
||||||
variables:
|
variables:
|
||||||
CCACHE_SIZE: 3G
|
CCACHE_SIZE: 3G
|
||||||
cache:
|
cache:
|
||||||
key: Debian_AndroidNDK_arm64-v8a.v3
|
key: Ubuntu__Focal_AndroidNDK_r22b_arm64-v8a.v1
|
||||||
paths:
|
paths:
|
||||||
- apt-cache/
|
- apt-cache/
|
||||||
- ccache/
|
- ccache/
|
||||||
- build/extern/fetched/
|
- build/extern/fetched/
|
||||||
before_script:
|
before_script:
|
||||||
- export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR
|
- export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR
|
||||||
- echo "deb http://deb.debian.org/debian unstable main contrib" > /etc/apt/sources.list
|
|
||||||
- echo "google-android-ndk-installer google-android-installers/mirror select https://dl.google.com" | debconf-set-selections
|
|
||||||
- apt-get update -yq
|
- apt-get update -yq
|
||||||
- apt-get -q -o dir::cache::archives="$APT_CACHE_DIR" install -y cmake ccache curl unzip git build-essential google-android-ndk-installer
|
- apt-get -q -o dir::cache::archives="$APT_CACHE_DIR" install -y cmake ccache curl unzip git build-essential
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- export CCACHE_BASEDIR="`pwd`"
|
- export CCACHE_BASEDIR="`pwd`"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh -ex
|
#!/bin/sh -ex
|
||||||
|
|
||||||
curl -fSL -R -J https://gitlab.com/OpenMW/openmw-deps/-/raw/main/android/openmw-android-deps-20201230.zip -o ~/openmw-android-deps.zip
|
curl -fSL -R -J https://gitlab.com/OpenMW/openmw-deps/-/raw/main/android/openmw-android-deps-20211114.zip -o ~/openmw-android-deps.zip
|
||||||
unzip -o ~/openmw-android-deps -d /usr/lib/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr > /dev/null
|
unzip -o ~/openmw-android-deps -d /android-ndk-r22/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr > /dev/null
|
||||||
|
|
|
@ -7,9 +7,10 @@ mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
cmake \
|
cmake \
|
||||||
-DCMAKE_TOOLCHAIN_FILE=/usr/lib/android-sdk/ndk-bundle/build/cmake/android.toolchain.cmake \
|
-DCMAKE_TOOLCHAIN_FILE=/android-ndk-r22/build/cmake/android.toolchain.cmake \
|
||||||
-DANDROID_ABI=arm64-v8a \
|
-DANDROID_ABI=arm64-v8a \
|
||||||
-DANDROID_PLATFORM=android-21 \
|
-DANDROID_PLATFORM=android-21 \
|
||||||
|
-DANDROID_LD=deprecated \
|
||||||
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
|
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
|
||||||
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
|
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
|
||||||
-DCMAKE_INSTALL_PREFIX=install \
|
-DCMAKE_INSTALL_PREFIX=install \
|
||||||
|
@ -22,7 +23,5 @@ cmake \
|
||||||
-DBUILD_OPENCS=0 \
|
-DBUILD_OPENCS=0 \
|
||||||
-DBUILD_WIZARD=0 \
|
-DBUILD_WIZARD=0 \
|
||||||
-DOPENMW_USE_SYSTEM_MYGUI=OFF \
|
-DOPENMW_USE_SYSTEM_MYGUI=OFF \
|
||||||
-DOPENMW_USE_SYSTEM_OSG=OFF \
|
|
||||||
-DOPENMW_USE_SYSTEM_BULLET=OFF \
|
|
||||||
-DOPENMW_USE_SYSTEM_SQLITE3=OFF \
|
-DOPENMW_USE_SYSTEM_SQLITE3=OFF \
|
||||||
..
|
..
|
||||||
|
|
Loading…
Reference in a new issue