mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-05 02:15:36 +00:00
Merge branch 'android_cmake_ccache_fix' into 'master'
Have Android CI also use latest ccache to fix issues with cmake. See merge request OpenMW/openmw!1614
This commit is contained in:
commit
6d152cc728
2 changed files with 9 additions and 15 deletions
|
@ -68,7 +68,7 @@ Coverity:
|
|||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||
before_script:
|
||||
- CI/install_debian_deps.sh clang openmw-deps openmw-deps-dynamic coverity
|
||||
- CI/install_debian_deps.sh clang openmw-deps openmw-deps-dynamic
|
||||
- curl -o /tmp/cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64 --form project=$COVERITY_SCAN_PROJECT_NAME --form token=$COVERITY_SCAN_TOKEN
|
||||
- tar xfz /tmp/cov-analysis-linux64.tgz
|
||||
script:
|
||||
|
@ -555,15 +555,13 @@ Ubuntu_AndroidNDK_arm64-v8a:
|
|||
variables:
|
||||
CCACHE_SIZE: 3G
|
||||
cache:
|
||||
key: Ubuntu__Focal_AndroidNDK_r22b_arm64-v8a.v1
|
||||
key: Ubuntu__Focal_AndroidNDK_r22b_arm64-v8a.v2
|
||||
paths:
|
||||
- apt-cache/
|
||||
- ccache/
|
||||
- build/extern/fetched/
|
||||
before_script:
|
||||
- export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR
|
||||
- apt-get update -yq
|
||||
- apt-get -q -o dir::cache::archives="$APT_CACHE_DIR" install -y cmake ccache curl unzip git build-essential
|
||||
- CI/install_debian_deps.sh gcc
|
||||
stage: build
|
||||
script:
|
||||
- export CCACHE_BASEDIR="`pwd`"
|
||||
|
|
|
@ -9,13 +9,11 @@ print_help() {
|
|||
}
|
||||
|
||||
declare -rA GROUPED_DEPS=(
|
||||
[gcc]="binutils gcc g++ libc-dev"
|
||||
[clang]="binutils clang"
|
||||
[gcc]="binutils gcc build-essential cmake ccache curl unzip git pkg-config"
|
||||
[clang]="binutils clang make cmake ccache curl unzip git pkg-config"
|
||||
|
||||
# Common dependencies for building OpenMW.
|
||||
[openmw-deps]="
|
||||
make cmake ccache git pkg-config
|
||||
|
||||
libboost-filesystem-dev libboost-program-options-dev
|
||||
libboost-system-dev libboost-iostreams-dev
|
||||
|
||||
|
@ -27,7 +25,6 @@ declare -rA GROUPED_DEPS=(
|
|||
|
||||
# These dependencies can alternatively be built and linked statically.
|
||||
[openmw-deps-dynamic]="libmygui-dev libopenscenegraph-dev libsqlite3-dev"
|
||||
[coverity]="curl"
|
||||
[clang-tidy]="clang-tidy"
|
||||
|
||||
# Pre-requisites for building MyGUI and OSG for static linking.
|
||||
|
@ -40,8 +37,7 @@ declare -rA GROUPED_DEPS=(
|
|||
# * JPEG: libjpeg-dev
|
||||
# * PNG: libpng-dev
|
||||
[openmw-deps-static]="
|
||||
make cmake
|
||||
ccache curl unzip libcollada-dom-dev libfreetype6-dev libjpeg-dev libpng-dev
|
||||
libcollada-dom-dev libfreetype6-dev libjpeg-dev libpng-dev
|
||||
libsdl2-dev libboost-system-dev libboost-filesystem-dev libgl-dev
|
||||
"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue