forked from osmocom/wireshark
![Alexis La Goutte](/assets/img/avatar_default.png)
4 jobs * autotools / gcc * autotools / clang * cmake / gcc * cmake / clang Change-Id: Ifc5b079415232b77680c87b2dee441566e08c835 Reviewed-on: https://code.wireshark.org/review/3944 Reviewed-by: Evan Huus <eapache@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
21 lines
610 B
YAML
21 lines
610 B
YAML
language: cpp
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
env:
|
|
- BUILD_CMAKE=no
|
|
- BUILD_CMAKE=yes
|
|
before_install:
|
|
- $CC --version
|
|
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
|
|
- sudo apt-get update -qq
|
|
#libstdc++-4.8 is needed by Clang to build
|
|
- sudo apt-get -qq install libstdc++-4.8-dev
|
|
- sudo apt-get build-dep wireshark
|
|
- sudo apt-get install cmake libgtk-3-0 libglib2.0-0 libgdk-pixbuf2.0-0 libcairo2 libqt4-dev
|
|
- $CC --version
|
|
before_script:
|
|
if [ ${BUILD_CMAKE} == "yes" ]; then mkdir build && cd build && cmake ..; else ./autogen.sh && ./configure --with-gtk2; fi
|
|
script:
|
|
- make
|