mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-26 10:55:24 +02:00
testing g++ build
This commit is contained in:
parent
b74aa71957
commit
18b4fe0b45
2 changed files with 7 additions and 2 deletions
|
@ -1,8 +1,10 @@
|
||||||
language: cpp
|
language: cpp
|
||||||
cache:
|
cache:
|
||||||
apt: true
|
apt: true
|
||||||
|
directories:
|
||||||
|
- $HOME/Library/Caches/Homebrew
|
||||||
os:
|
os:
|
||||||
- linux
|
# - linux
|
||||||
- osx
|
- osx
|
||||||
sudo: required
|
sudo: required
|
||||||
dist: stretch
|
dist: stretch
|
||||||
|
@ -32,6 +34,9 @@ env:
|
||||||
matrix:
|
matrix:
|
||||||
- BUILD_TYPE=Release UPNP=ON
|
- BUILD_TYPE=Release UPNP=ON
|
||||||
- BUILD_TYPE=Release UPNP=OFF
|
- BUILD_TYPE=Release UPNP=OFF
|
||||||
|
exclude:
|
||||||
|
- os: osx
|
||||||
|
compiler: g++
|
||||||
script:
|
script:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd build && cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DWITH_UPNP=${UPNP} && make ; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd build && cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DWITH_UPNP=${UPNP} && make ; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make HOMEBREW=1 USE_UPNP=${UPNP} ; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make HOMEBREW=1 USE_UPNP=${UPNP} ; fi
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CXX = clang++
|
#CXX = clang++
|
||||||
CXXFLAGS = -Os -Wall -std=c++11 -DMAC_OSX
|
CXXFLAGS = -Os -Wall -std=c++11 -DMAC_OSX
|
||||||
#CXXFLAGS = -g -O2 -Wall -std=c++11
|
#CXXFLAGS = -g -O2 -Wall -std=c++11
|
||||||
INCFLAGS = -I/usr/local/include
|
INCFLAGS = -I/usr/local/include
|
||||||
|
|
Loading…
Add table
Reference in a new issue