mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 05:58:01 -05:00
travis: added cmake build for osx
This commit is contained in:
parent
c54ee668df
commit
383fd9dcb4
12
.travis.yml
12
.travis.yml
@ -119,6 +119,9 @@ matrix:
|
|||||||
- os: osx
|
- os: osx
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: T=normal
|
env: T=normal
|
||||||
|
- os: osx
|
||||||
|
compiler: clang
|
||||||
|
env: T=cmake
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
dist: trusty
|
dist: trusty
|
||||||
@ -347,10 +350,11 @@ script:
|
|||||||
- |
|
- |
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
if [ "$T" = "cmake" ]; then
|
if [ "$T" = "cmake" ]; then
|
||||||
mkdir build
|
if [ $TRAVIS_OS_NAME = linux ]; then
|
||||||
cd build
|
cmake -H. -Bbuild -DCURL_WERROR=ON && cmake --build build
|
||||||
cmake .. -DCURL_WERROR=ON
|
else
|
||||||
make
|
cmake -H. -Bbuild -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCURL_DISABLE_LDAP=ON -DCURL_DISABLE_LDAPS=ON && cmake --build build
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
- |
|
- |
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
Loading…
Reference in New Issue
Block a user