44 pull_request :
55 push :
66 branches :
7- - master
7+ - main
88
99env :
1010 KAFKA_SRC_LINK : https://archive.apache.org/dist/kafka/2.8.1/kafka_2.13-2.8.1.tgz
1111 CPU_CORE_NUM : 2
1212 LIBRDKAFKA_VERSION : 1.7.0
13- BUILD_SUB_DIR : build /sub-build
13+ BUILD_SUB_DIR : builds /sub-build
1414
1515jobs :
1616 kafka-api-tests :
@@ -32,43 +32,43 @@ jobs:
3232 include :
3333 - os : macos-10.15
3434 build-cxx : clang++
35- test-labels : UT|IT
35+ test-labels : unit|integration
3636
3737 - os : ubuntu-20.04
3838 build-cxx : g++
3939 build-type : Debug
40- test-labels : UT|IT
40+ test-labels : unit|integration
4141 enable-ut-stubs : true
4242
4343 - os : ubuntu-20.04
4444 build-cxx : g++
4545 build-type : Release
46- test-labels : RT
46+ test-labels : robustness
4747
4848 - os : ubuntu-20.04
4949 build-cxx : g++
5050 build-type : Release
5151 cxx-standard : 14
52- test-labels : UT|IT
52+ test-labels : unit|integration
5353
5454 - os : ubuntu-20.04
5555 build-cxx : g++
5656 check-option : asan
57- test-labels : UT|IT
57+ test-labels : unit|integration
5858
5959 - os : ubuntu-20.04
6060 build-cxx : g++
6161 check-option : tsan
62- test-labels : UT|IT
62+ test-labels : unit|integration
6363
6464 - os : ubuntu-20.04
6565 build-cxx : g++
6666 check-option : ubsan
67- test-labels : UT|IT
67+ test-labels : unit|integration
6868
6969 - os : ubuntu-20.04
7070 build-cxx : clang++
71- test-labels : UT|IT
71+ test-labels : unit|integration
7272 generate-doc : true
7373 with-installation : true
7474
@@ -79,11 +79,11 @@ jobs:
7979
8080 - os : ubuntu-18.04
8181 build-cxx : g++
82- test-labels : UT|IT
82+ test-labels : unit|integration
8383
8484 - os : ubuntu-18.04
8585 build-cxx : clang++
86- test-labels : RT
86+ test-labels : robustness
8787
8888 steps :
8989 - uses : actions/checkout@v2
9696
9797 - name : Install Dependencies
9898 run : |
99- mkdir -p $BUILD_SUB_DIR
99+ mkdir -p ${ BUILD_SUB_DIR}
100100 cd ${BUILD_SUB_DIR}
101101
102102 # 1. Install clang/clang-tidy
@@ -110,10 +110,10 @@ jobs:
110110 sudo apt install -y clang-tidy
111111 fi
112112
113- # 2. Install googletest (v1.10 .0)
114- wget -nv https://github.com/google/googletest/archive/release-1.10 .0.tar.gz
115- tar -xzf release-1.10 .0.tar.gz
116- cd googletest-release-1.10 .0
113+ # 2. Install googletest (v1.11 .0)
114+ wget -nv https://github.com/google/googletest/archive/refs/tags/ release-1.11 .0.tar.gz
115+ tar -xzf release-1.11 .0.tar.gz
116+ cd googletest-release-1.11 .0
117117 env CXX=${BUILD_CXX} cmake ./
118118 make -j${CPU_CORE_NUM} && sudo make install
119119 cd ../
@@ -211,7 +211,7 @@ jobs:
211211 cd ${BUILD_SUB_DIR}
212212
213213 # Setup Kafka cluster for integration test & regression test
214- if [[ ${TEST_LABELS} == *'IT '* ]] || [[ ${TEST_LABELS} == *'RT '* ]]; then
214+ if [[ ${TEST_LABELS} == *'integration '* ]] || [[ ${TEST_LABELS} == *'robustness '* ]]; then
215215 # Install kafka
216216 time wget -nv ${KAFKA_SRC_LINK}
217217 tar -xzf `basename ${KAFKA_SRC_LINK}`
@@ -229,7 +229,7 @@ jobs:
229229 fi
230230
231231 # Install gtest-parallel
232- if [[ ${TEST_LABELS} == *'IT '* ]]; then
232+ if [[ ${TEST_LABELS} == *'integration '* ]]; then
233233 wget https://github.com/google/gtest-parallel/archive/refs/heads/master.zip
234234 unzip master.zip
235235 export PATH=`pwd`/gtest-parallel-master:$PATH
@@ -239,7 +239,7 @@ jobs:
239239 ctest -VV -L "${TEST_LABELS}"
240240
241241 # Stop Kafka cluster for integration test & regression test
242- if [[ ${TEST_LABELS} == *'IT '* ]] || [[ ${TEST_LABELS} == *'RT '* ]]; then
242+ if [[ ${TEST_LABELS} == *'integration '* ]] || [[ ${TEST_LABELS} == *'robustness '* ]]; then
243243 # Stop kafka cluster
244244 kafka-server-stop.sh
245245 zookeeper-server-stop.sh
@@ -249,7 +249,7 @@ jobs:
249249 runs-on : windows-latest
250250
251251 env :
252- TEST_LABELS : ${{ matrix.test-labels }}
252+ TEST_LABELS : ${{ matrix.test-labels }}
253253
254254 strategy :
255255 matrix :
@@ -278,8 +278,6 @@ jobs:
278278 vcpkg install boost-program-options
279279
280280 cp -v "C:\VCPKG\INSTALLED\x86-windows\lib\boost_program_options-vc140-mt.lib" "C:\VCPKG\INSTALLED\x86-windows\lib\boost_program_options.lib"
281- cp -v "C:\VCPKG\INSTALLED\x86-windows\bin\boost_program_options-vc142-mt-x32-1_77.dll" "C:\VCPKG\INSTALLED\x86-windows\bin\boost_program_options.dll"
282- cp -v "C:\VCPKG\INSTALLED\x86-windows\bin\boost_program_options-vc142-mt-x32-1_77.pdb" "C:\VCPKG\INSTALLED\x86-windows\bin\boost_program_options.pdb"
283281
284282 # Install rapidjson
285283 vcpkg install rapidjson
0 commit comments