mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01: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
@ -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…
Reference in New Issue
Block a user