forked from osmocom/wireshark
Add .gitlab-ci.yml.
As for .travis.yml, this file triggers the CI module of GITLAB. On the public instance of gitlab (gitlab.com) the runners are active by default, then any mirror of wireshark on gitlab.com will result in an automated build. The current version of .gitlab-ci.yml builds with gcc 4,5,6 and with default config, without extcap and without pcap. Change-Id: I0800045e7f1b4a137dbd69a185d3b09a89398948 Reviewed-on: https://code.wireshark.org/review/18936 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Dario Lombardo <lomato@gmail.com>
This commit is contained in:
parent
b87a2be081
commit
ebf4c91d83
|
@ -0,0 +1,67 @@
|
|||
before_script:
|
||||
- apt-get update -qq
|
||||
- apt-get install ninja-build -y
|
||||
- ./tools/debian-setup.sh --install-optional -y
|
||||
gcc-4:
|
||||
image: gcc:4
|
||||
script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -GNinja ..
|
||||
- ninja
|
||||
gcc-4-noextcap:
|
||||
image: gcc:4
|
||||
script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -GNinja -DENABLE_EXTCAP=OFF ..
|
||||
- ninja
|
||||
gcc-4-nopcap:
|
||||
image: gcc:4
|
||||
script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -GNinja -DENABLE_PCAP=OFF ..
|
||||
- ninja
|
||||
gcc-5:
|
||||
image: gcc:5
|
||||
script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -GNinja ..
|
||||
- ninja
|
||||
gcc-5-noextcap:
|
||||
image: gcc:5
|
||||
script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -GNinja -DENABLE_EXTCAP=OFF ..
|
||||
- ninja
|
||||
gcc-5-nopcap:
|
||||
image: gcc:5
|
||||
script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -GNinja -DENABLE_PCAP=OFF ..
|
||||
- ninja
|
||||
gcc-6:
|
||||
image: gcc:6
|
||||
script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -GNinja ..
|
||||
- ninja
|
||||
gcc-6-noextcap:
|
||||
image: gcc:6
|
||||
script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -GNinja -DENABLE_EXTCAP=OFF ..
|
||||
- ninja
|
||||
gcc-6-nopcap:
|
||||
image: gcc:6
|
||||
script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -GNinja -DENABLE_PCAP=OFF ..
|
||||
- ninja
|
Loading…
Reference in New Issue