aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2020-03-26 22:59:18 +0100
committerPeter Wu <peter@lekensteyn.nl>2020-04-08 21:42:51 +0000
commitf71a5e0f02a4cedf576eabd605151f84c0349ca4 (patch)
tree7a4eecad4914c5a268e6412648934c43b12d4dfb /.github
parent43c4e886256aea5efd21dd75b6e48a7c321f6cea (diff)
github: add cmake options workflow.
This workflow will test the several options available in cmake, by not using the default value. The workflow runs once a day, instead on push, to spot problems that unlikely happen. The compilation without pcap has been removed from other CIs, since it is included in this one and that will spare CI cycles. Change-Id: I796a1ac1879fe85c66d9518207c7053531204c11 Reviewed-on: https://code.wireshark.org/review/36608 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/options.yml47
1 files changed, 47 insertions, 0 deletions
diff --git a/.github/workflows/options.yml b/.github/workflows/options.yml
new file mode 100644
index 0000000000..1a5e65e82a
--- /dev/null
+++ b/.github/workflows/options.yml
@@ -0,0 +1,47 @@
+name: CMake Options Test
+
+on:
+ push:
+ schedule:
+ - cron: '1 0 * * *'
+
+jobs:
+ options:
+ name: Build
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Install deps
+ run: sudo tools/debian-setup.sh ninja-build -y
+ - run: mkdir build
+ - name: CMake
+ run: >-
+ cmake
+ -GNinja
+ -DENABLE_BROTLI=OFF
+ -DENABLE_CAP=OFF
+ -DENABLE_CARES=OFF
+ -DENABLE_CHECKHF_CONFLICT=ON
+ -DENABLE_GNUTLS=OFF
+ -DENABLE_KERBEROS=OFF
+ -DENABLE_LIBXML2=OFF
+ -DENABLE_ILBC=OFF
+ -DENABLE_LUA=OFF
+ -DENABLE_LZ4=OFF
+ -DENABLE_MINIZIP=OFF
+ -DENABLE_NETLINK=OFF
+ -DENABLE_NGHTTP2=OFF
+ -DENABLE_PCAP=OFF
+ -DENABLE_PLUGIN_IFDEMO=ON
+ -DENABLE_PLUGINS=OFF
+ -DENABLE_SBC=OFF
+ -DENABLE_SMI=OFF
+ -DENABLE_SNAPPY=OFF
+ -DENABLE_SPANDSP=OFF
+ -DENABLE_ZLIB=OFF
+ -DENABLE_ZSTD=OFF
+ ..
+ working-directory: build
+ - run: ninja
+ working-directory: build