1
0
mirror of https://github.com/coturn/coturn.git synced 2025-10-27 04:51:28 +01:00

Revert cmake changes until we don't fix them

This commit is contained in:
Mészáros Mihály 2021-04-08 01:08:30 +02:00 committed by GitHub
parent 54d8012f79
commit 7756c5da8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,21 +4,21 @@ language: cpp
before_install: before_install:
- export CPPFLAGS="$CPPFLAGS -I/usr/local/opt/openssl/include" - export CPPFLAGS="$CPPFLAGS -I/usr/local/opt/openssl/include"
- export LDFLAGS="$LDFLAGS -L/usr/local/opt/openssl/lib" - export LDFLAGS="$LDFLAGS -L/usr/local/opt/openssl/lib"
- export OPENSSL_ROOT_DIR="/usr/local/opt" # - export OPENSSL_ROOT_DIR="/usr/local/opt"
- export OPENSSL_INCLUDE_DIR="/usr/local/opt/openssl/include" # - export OPENSSL_INCLUDE_DIR="/usr/local/opt/openssl/include"
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew outdated openssl || brew upgrade openssl; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew outdated openssl || brew upgrade openssl; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink protobuf; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink protobuf; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install mysql sqlite hiredis; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install mysql sqlite hiredis; fi
script: #script:
- mkdir build # - mkdir build
- cd build # - cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=`pwd`/install # - cmake .. -DCMAKE_INSTALL_PREFIX=`pwd`/install
- cmake --build . # - cmake --build .
- cmake --build . --target install # - cmake --build . --target install
- cd .. # - cd ..
- ./configure && make && make test # - ./configure && make && make test
jobs: jobs:
include: include:
@ -41,27 +41,27 @@ jobs:
- libpq-dev - libpq-dev
- libmysqlclient-dev - libmysqlclient-dev
- libhiredis-dev - libhiredis-dev
#- name: ubuntu Focal AMD64 C++ - name: ubuntu Focal AMD64 C++
# os: linux os: linux
# arch: amd64 arch: amd64
# dist: focal dist: focal
# sudo: required sudo: required
# env: env:
# - CC=g++ - CC=g++
# addons: addons:
# apt: apt:
# packages: packages:
# - mysql-client - mysql-client
# - debhelper - debhelper
# - dpkg-dev - dpkg-dev
# - libssl-dev - libssl-dev
# - libevent-dev - libevent-dev
# - sqlite3 - sqlite3
# - libsqlite3-dev - libsqlite3-dev
# - postgresql-client - postgresql-client
# - libpq-dev - libpq-dev
# - libmysqlclient-dev - libmysqlclient-dev
# - libhiredis-dev - libhiredis-dev
- os: linux - os: linux
arch: amd64 arch: amd64
dist: bionic dist: bionic