mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 18:40:27 +01: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:
|
packages:
|
||||||
- valgrind
|
- valgrind
|
||||||
- libgnutls-dev
|
- 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
|
os: linux
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
10
config.sh
10
config.sh
@ -66,4 +66,14 @@ function set_config_opts() {
|
|||||||
if [ -n "$FORCE_98" ] && [ "$FORCE_98" = "enabled" ]; then
|
if [ -n "$FORCE_98" ] && [ "$FORCE_98" = "enabled" ]; then
|
||||||
CONFIG_OPTS+=("--enable-force-CXX98-compat=yes")
|
CONFIG_OPTS+=("--enable-force-CXX98-compat=yes")
|
||||||
fi
|
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…
Reference in New Issue
Block a user