File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 7
7
- main
8
8
9
9
env :
10
- KAFKA_SRC_LINK : https://dlcdn.apache.org/kafka/3.2.0/kafka_2.13-3.2.0.tgz
11
- CPU_CORE_NUM : 2
12
- LIBRDKAFKA_VERSION : 1 .8.2
10
+ KAFKA_SRC_LINK : https://dlcdn.apache.org/kafka/3.2.0/kafka_2.13-3.2.0.tgz
11
+ CPU_CORE_NUM : 2
12
+ LIBRDKAFKA_TAG : v1 .8.2
13
13
14
14
jobs :
15
15
kafka-api-bazel-build :
37
37
- name : Install Dependencies
38
38
run : |
39
39
# 1. Install librdkafka
40
- wget -nv https://github.com/edenhill/librdkafka/archive/v${LIBRDKAFKA_VERSION}.tar.gz
41
- tar -xzf v${LIBRDKAFKA_VERSION}.tar.gz
42
- cd librdkafka-${LIBRDKAFKA_VERSION }
40
+ git clone https://github.com/edenhill/librdkafka.git
41
+ cd librdkafka
42
+ git reset --hard ${LIBRDKAFKA_TAG }
43
43
./configure
44
44
make -j${CPU_CORE_NUM} && sudo make install
45
45
cd ../
Original file line number Diff line number Diff line change 7
7
- main
8
8
9
9
env :
10
- KAFKA_SRC_LINK : https://dlcdn.apache.org/kafka/3.2.0/kafka_2.13-3.2.0.tgz
11
- CPU_CORE_NUM : 2
12
- LIBRDKAFKA_VERSION : 1 .8.2
13
- BUILD_SUB_DIR : builds/sub-build
10
+ KAFKA_SRC_LINK : https://dlcdn.apache.org/kafka/3.2.0/kafka_2.13-3.2.0.tgz
11
+ CPU_CORE_NUM : 2
12
+ LIBRDKAFKA_TAG : v1 .8.2
13
+ BUILD_SUB_DIR : builds/sub-build
14
14
15
15
jobs :
16
16
kafka-api-tests :
@@ -130,9 +130,9 @@ jobs:
130
130
fi
131
131
132
132
# 4. Install librdkafka
133
- wget -nv https://github.com/edenhill/librdkafka/archive/v${LIBRDKAFKA_VERSION}.tar.gz
134
- tar -xzf v${LIBRDKAFKA_VERSION}.tar.gz
135
- cd librdkafka-${LIBRDKAFKA_VERSION }
133
+ git clone https://github.com/edenhill/librdkafka.git
134
+ cd librdkafka
135
+ git reset --hard ${LIBRDKAFKA_TAG }
136
136
./configure --cxx=${BUILD_CXX}
137
137
make -j${CPU_CORE_NUM} && sudo make install
138
138
cd ../
You can’t perform that action at this time.
0 commit comments