Commit 6ab0f78 1 parent 2b080c1 commit 6ab0f78 Copy full SHA for 6ab0f78
File tree 5 files changed +48
-3
lines changed
5 files changed +48
-3
lines changed Original file line number Diff line number Diff line change 19
19
sudo ./ci/setup_cmake.sh
20
20
sudo ./ci/setup_ci_environment.sh
21
21
- name : run cmake tests (without otlp-exporter)
22
- run : ./ci/do_ci.sh cmake.test
22
+ run : |
23
+ sudo ./ci/setup_thrift.sh
24
+ ./ci/do_ci.sh cmake.test
23
25
24
26
cmake_gcc_48_test :
25
27
name : CMake gcc 4.8
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ if [[ "$1" == "cmake.test" ]]; then
34
34
cmake -DCMAKE_BUILD_TYPE=Debug \
35
35
-DWITH_PROMETHEUS=ON \
36
36
-DWITH_ZIPKIN=ON \
37
+ -DWITH_JAEGER=ON \
37
38
-DWITH_ELASTICSEARCH=ON \
38
39
-DWITH_METRICS_PREVIEW=ON \
39
40
-DCMAKE_CXX_FLAGS=" -Werror" \
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -e
4
+ export DEBIAN_FRONTEND=noninteractive
5
+ export THRIFT_VERSION=0.14.1
6
+
7
+ if ! type cmake > /dev/null; then
8
+ # cmake not installed, exiting
9
+ exit 1
10
+ fi
11
+ export BUILD_DIR=/tmp/
12
+ export INSTALL_DIR=/usr/local/
13
+
14
+ apt install -y --no-install-recommends \
15
+ libboost-all-dev \
16
+ libevent-dev \
17
+ libssl-dev \
18
+ ninja-build
19
+
20
+ pushd $BUILD_DIR
21
+ wget https://github.com/apache/thrift/archive/refs/tags/v${THRIFT_VERSION} .tar.gz
22
+ tar -zxvf v${THRIFT_VERSION} .tar.gz
23
+ cd thrift-${THRIFT_VERSION}
24
+ mkdir -p out
25
+ pushd out
26
+ cmake -G Ninja .. \
27
+ -DBUILD_COMPILER=OFF \
28
+ -DBUILD_CPP=ON \
29
+ -DBUILD_LIBRARIES=ON \
30
+ -DBUILD_NODEJS=OFF \
31
+ -DBUILD_PYTHON=OFF \
32
+ -DBUILD_JAVASCRIPT=OFF \
33
+ -DBUILD_C_GLIB=OFF \
34
+ -DBUILD_JAVA=OFF \
35
+ -DBUILD_TESTING=OFF \
36
+ -DBUILD_TUTORIALS=OFF \
37
+ ..
38
+
39
+ ninja -j $( nproc)
40
+ ninja install
41
+ popd
42
+ popd
Original file line number Diff line number Diff line change 3
3
4
4
#pragma once
5
5
6
- #include < agent .h>
6
+ #include < Agent .h>
7
7
#include < atomic>
8
8
#include < memory>
9
9
#include < mutex>
Original file line number Diff line number Diff line change 6
6
#include " TUDPTransport.h"
7
7
#include " transport.h"
8
8
9
- #include < agent .h>
9
+ #include < Agent .h>
10
10
#include < thrift/protocol/TBinaryProtocol.h>
11
11
#include < thrift/protocol/TCompactProtocol.h>
12
12
#include < thrift/protocol/TProtocol.h>
You can’t perform that action at this time.
0 commit comments