mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Add a build step to test non freetype builds (#6908)
* Add a build step to test non freetype builds
This commit is contained in:
parent
6f2fe8a554
commit
7e50529867
2 changed files with 13 additions and 0 deletions
|
@ -70,6 +70,15 @@ matrix:
|
||||||
sources: &sources
|
sources: &sources
|
||||||
- llvm-toolchain-trusty-5.0
|
- llvm-toolchain-trusty-5.0
|
||||||
|
|
||||||
|
- env: PLATFORM=Unix COMPILER=clang-5.0 FREETYPE=0
|
||||||
|
compiler: clang
|
||||||
|
os: linux
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages: ['clang-5.0', 'clang++-5.0']
|
||||||
|
sources: &sources
|
||||||
|
- llvm-toolchain-trusty-5.0
|
||||||
|
|
||||||
- env: PLATFORM=Unix COMPILER=clang-5.0 VALGRIND=1
|
- env: PLATFORM=Unix COMPILER=clang-5.0 VALGRIND=1
|
||||||
compiler: clang
|
compiler: clang
|
||||||
os: linux
|
os: linux
|
||||||
|
|
|
@ -22,6 +22,10 @@ if [[ ${PLATFORM} == "Unix" ]]; then
|
||||||
CMAKE_FLAGS+=' -DCUSTOM_GETTEXT_PATH=/usr/local/opt/gettext'
|
CMAKE_FLAGS+=' -DCUSTOM_GETTEXT_PATH=/usr/local/opt/gettext'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -n "${FREETYPE}" ]] && [[ "${FREETYPE}" == "0" ]]; then
|
||||||
|
CMAKE_FLAGS+=' -DENABLE_FREETYPE=0'
|
||||||
|
fi
|
||||||
|
|
||||||
cmake -DCMAKE_BUILD_TYPE=Debug \
|
cmake -DCMAKE_BUILD_TYPE=Debug \
|
||||||
-DRUN_IN_PLACE=TRUE \
|
-DRUN_IN_PLACE=TRUE \
|
||||||
-DENABLE_GETTEXT=TRUE \
|
-DENABLE_GETTEXT=TRUE \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue