mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 06:41:03 +08:00
Problem: no CI coverage for VMCI transport
Solution: add a build test
This commit is contained in:
parent
8fe5b54b8a
commit
4bb9a4ccff
@ -65,7 +65,7 @@ matrix:
|
||||
packages:
|
||||
- valgrind
|
||||
- libgnutls-dev
|
||||
- env: BUILD_TYPE=default CURVE=libsodium GSSAPI=enabled PGM=enabled NORM=enabled
|
||||
- env: BUILD_TYPE=default CURVE=libsodium GSSAPI=enabled PGM=enabled NORM=enabled VMCI=enabled
|
||||
os: linux
|
||||
addons:
|
||||
apt:
|
||||
|
10
config.sh
10
config.sh
@ -66,4 +66,14 @@ function set_config_opts() {
|
||||
if [ -n "$FORCE_98" ] && [ "$FORCE_98" = "enabled" ]; then
|
||||
CONFIG_OPTS+=("--enable-force-CXX98-compat=yes")
|
||||
fi
|
||||
|
||||
if [ -n "$VMCI" ] && [ "$VMCI" = "enabled" ]; then
|
||||
CONFIG_OPTS+=("--with-vmci=$PWD/vmci")
|
||||
# VMWare headeers are not ISO C++ compliant
|
||||
CONFIG_OPTS+=("--disable-pedantic")
|
||||
git clone --depth 1 https://github.com/vmware/open-vm-tools.git
|
||||
mkdir -p vmci
|
||||
# Linux headers are redefined, so we can't just add -I to the whole dir
|
||||
cp open-vm-tools/open-vm-tools/lib/include/vmci_* vmci/
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user