1
0
mirror of https://github.com/nlohmann/json synced 2024-12-29 11:51:09 +00:00

👷 forgot to install Cmake on OSX

This commit is contained in:
Niels Lohmann 2017-08-15 20:30:01 +02:00
parent 7f4722a75d
commit fdff42bc3d
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -42,7 +42,7 @@ matrix:
after_success:
- make check TEST_PREFIX="valgrind --error-exitcode=1 --leak-check=full " TEST_PATTERN=""
# cLang sanitizer
# clang sanitizer
# note: sadly clang's libc++ has errors when running with sanitize,
# so we use clang with gcc's libstdc++ which doesn't give those error.
# that's why we need to install g++-6 to get the lastest version
@ -267,6 +267,14 @@ matrix:
################
script:
# get CMake (only for systems with brew - macOS)
- |
if [[ !(-x $(which cmake)) && (-x $(which brew)) ]]; then
brew update
brew install cmake
cmake --version
fi
# make sure CXX is correctly set
- if [[ "${COMPILER}" != "" ]]; then export CXX=${COMPILER}; fi