aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2016-10-21 17:22:40 +0200
committerDario Lombardo <lomato@gmail.com>2016-11-25 17:07:49 +0000
commitebf4c91d8377e34ccf9207e7410c8041bef57fb2 (patch)
tree369c6d5587c63c806eb2797914fd263327242a55 /.gitlab-ci.yml
parentb87a2be0810f6758f4782aaf6424da23d030f902 (diff)
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>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml67
1 files changed, 67 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..7bb698f
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -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