Skip to content

Commit dffb187

Browse files
committed
Refine CI jobs a bit
1 parent 852ca94 commit dffb187

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/ci_tests.yml renamed to .github/workflows/kafka_api_ci_tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI Tests
1+
name: [Kafka API] CI Tests
22

33
on: [push, pull_request]
44

@@ -9,7 +9,7 @@ env:
99
BUILD_SUB_DIR: build/sub-build
1010

1111
jobs:
12-
on_unix-like:
12+
kafka-api-tests:
1313
runs-on: ${{ matrix.os }}
1414

1515
env:
@@ -111,8 +111,6 @@ jobs:
111111
112112
if [ ${CXX_VERSION} ]; then
113113
export CMAKE_CXX_FLAGS="-DCMAKE_CXX_FLAGS=\"-std=${CXX_VERSION}\""
114-
else
115-
export CMAKE_CXX_FLAGS="-DCMAKE_CXX_FLAGS=\"-std=c++17\""
116114
fi
117115
118116
if [ ${BUILD_TYPE} ]; then

.github/workflows/gen_doc.yml renamed to .github/workflows/kafka_api_gen_doc.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Generate Documents
1+
name: [Kafka API] Generate Documents
22

33
on:
44
pull_request:
@@ -7,17 +7,14 @@ on:
77
- master
88

99
jobs:
10-
build_doc:
11-
name: Build Doc
10+
kafka-api-build-doc:
1211
runs-on: ubuntu-20.04
1312
env:
1413
BUILD_SUB_DIR: build/sub-build
1514
steps:
1615
- uses: actions/checkout@v2
1716
- name: Install Dependencies
1817
run: |
19-
# Update the package list
20-
sudo apt update
2118
mkdir -p $BUILD_SUB_DIR
2219
cd $BUILD_SUB_DIR
2320
@@ -31,16 +28,19 @@ jobs:
3128
run: |
3229
cd $BUILD_SUB_DIR
3330
cmake ../.. -DBUILD_OPTION_DOC_ONLY=ON
31+
3432
- name: Build
3533
run: |
3634
cd $BUILD_SUB_DIR
3735
make VERBOSE=1
36+
3837
- name: Copy
3938
run: |
4039
mkdir doc-gen
4140
cp $BUILD_SUB_DIR/doc/README.html doc-gen
4241
cp -r $BUILD_SUB_DIR/doc/markdown doc-gen
4342
cp -r $BUILD_SUB_DIR/doc/doxygen doc-gen
43+
4444
- name: Upload
4545
uses: actions/upload-artifact@v2
4646
with:

0 commit comments

Comments
 (0)