File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change
1
+ language : cpp
2
+
3
+ compiler : gcc
4
+
5
+ before_install :
6
+ # Set package repository.
7
+ - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
8
+
9
+ # Update the system.
10
+ - sudo apt-get -qq update
11
+
12
+ # Get GCC 4.7 (for C++11 support)
13
+ - sudo apt-get -qq install g++-4.7
14
+ - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.7 50
15
+
16
+ script :
17
+
18
+ # Perform regression test build against ZeroMQ master + libsodium
19
+ - mkdir build_dependencies
20
+ - pushd build_dependencies
21
+ - echo "*** build libsodium"
22
+ - git clone git://github.com/jedisct1/libsodium.git
23
+ - ( cd libsodium; ./autogen.sh; ./configure; make check; sudo make install; sudo ldconfig )
24
+ - echo "*** build libzmq"
25
+ - git clone git://github.com/zeromq/libzmq.git
26
+ - ( cd libzmq; ./autogen.sh; ./configure; make check; sudo make install; sudo ldconfig )
27
+ - echo "*** build czmq"
28
+ - git clone git://github.com/zeromq/czmq
29
+ - ( cd czmq; ./autogen.sh; ./configure; make check; sudo make install; sudo ldconfig )
30
+ - popd
31
+ - echo "*** build czmqpp"
32
+ - (./autogen.sh; ./configure; make check )
33
+ - echo "*** czmqpp build success"
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ PKG_CHECK_MODULES([libczmq], [libczmq])
19
19
# Do not add contextual build parameters in configuration.
20
20
# http://stackoverflow.com/a/4680578
21
21
OPTIMIZATIONS="-fvisibility=internal"
22
- WARNINGS="-Wall -Wextra -Wno-format-security -Wno-missing-braces -Wpedantic "
22
+ WARNINGS="-Wall -Wextra -Wno-format-security -Wno-missing-braces -pedantic "
23
23
SAFEGUARDS="-fvisibility-inlines-hidden -fstack-protector-all"
24
24
AM_CXXFLAGS=$WARNINGS" "$SAFEGUARDS" "$OPTIMIZATIONS
25
25
AC_SUBST ( [ AM_CXXFLAGS] )
You can’t perform that action at this time.
0 commit comments