diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2021-04-20 00:39:44 +0000 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2021-04-19 17:58:33 -0700 |
commit | 5487ac0ce50e36d01cfbb14f33eeac91ae5e7f15 (patch) | |
tree | 09cd9aba372ff69052766cb120ef21ace74ea623 /travis.sh | |
parent | 243fdd92a3addc7e64b2ebda3fe5b935499f29b8 (diff) | |
download | rabbitmq-c-5487ac0ce50e36d01cfbb14f33eeac91ae5e7f15.tar.gz |
ci: enable building of tools manpages
This unfortunately pulls in xmlto which is huge, thus we only enable it
for a subset of the build configurations.
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,8 +1,9 @@ #!/usr/bin/env bash build_cmake() { + sudo apt install -y xmlto mkdir $PWD/_build && cd $PWD/_build - cmake .. -GNinja -DBUILD_EXAMPLES=ON -DBUILD_TOOLS=ON -DCMAKE_INSTALL_PREFIX=$PWD/../_install -DCMAKE_C_FLAGS="-Wall -Wextra -Wstrict-prototypes -Wno-unused-function -Wno-implicit-fallthrough -Werror" + cmake .. -GNinja -DBUILD_EXAMPLES=ON -DBUILD_TOOLS=ON -DBUILD_TOOLS_DOCS=ON -DCMAKE_INSTALL_PREFIX=$PWD/../_install -DCMAKE_C_FLAGS="-Wall -Wextra -Wstrict-prototypes -Wno-unused-function -Wno-implicit-fallthrough -Werror" cmake --build . --target install ctest -V . } @@ -50,7 +51,7 @@ build_tsan() { } build_scan-build() { - sudo apt-get install -y clang-tools + sudo apt install -y clang-tools mkdir $PWD/_build && cd $PWD/_build scan-build cmake .. -GNinja -DBUILD_EXAMPLES=ON -DBUILD_TOOLS=ON -DCMAKE_BUILD_TYPE=Debug \ -DCMAKE_C_COMPILER=clang \ |