Skip to content

Commit 90df789

Browse files
committed
ci: some updates for ci
Signed-off-by: Ji Bin <[email protected]>
1 parent daf51a9 commit 90df789

10 files changed

+33
-14
lines changed

.github/mergify.yml

+12
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ pull_request_rules:
33
conditions:
44
- base=master
55
- "status-success=Build and test AMD64 Ubuntu 18.04"
6+
- "status-success=Build and test AMD64 Ubuntu 22.04"
67
- "status-success=Build and test AMD64 CentOS 7"
8+
- "status-success=Build and test AMD64 Fedora 38"
9+
- "status-success=Build and test AMD64 Fedora 39"
10+
- "status-success=Build and test macOS 11"
11+
- "status-success=Build and test windows"
712
actions:
813
label:
914
add:
@@ -15,6 +20,13 @@ pull_request_rules:
1520
- or:
1621
- "check-failure=Build and test AMD64 Ubuntu 18.04"
1722
- "check-failure=Build and test AMD64 CentOS 7"
23+
- "check-failure=Build and test AMD64 Ubuntu 18.04"
24+
- "check-failure=Build and test AMD64 Ubuntu 22.04"
25+
- "check-failure=Build and test AMD64 CentOS 7"
26+
- "check-failure=Build and test AMD64 Fedora 38"
27+
- "check-failure=Build and test AMD64 Fedora 39"
28+
- "check-failure=Build and test macOS 11"
29+
- "check-failure=Build and test windows"
1830
actions:
1931
label:
2032
remove:

.github/workflows/main.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ jobs:
5050
image: centos:7
5151
key: c7
5252
- distro: Fedora
53-
version: 36
54-
image: fedora:36
55-
key: fc36
53+
version: 38
54+
image: fedora:38
55+
key: fc38
5656
- distro: Fedora
57-
version: 37
58-
image: fedora:37
59-
key: fc37
57+
version: 39
58+
image: fedora:39
59+
key: fc39
6060
env:
6161
CCACHE_DIR: ${{ github.workspace }}/.ccache
6262
CCACHE_COMPILERCHECK: content

DEVELOPMENT.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,19 @@ Please file an [issue](https://github.com/milvus-io/milvus-sdk-cpp/issues/new) i
55
# Supported Platforms
66
- Linux
77
- macOS
8+
- Windows
89

910
# Build C++ SDK with your Linux
1011

1112
## Setup development environment
1213
Currently, we tested the below platform and compilers for developing Milvus C++ SDK.
1314

14-
| Platform | Version | Compiler Tested | Support |
15-
| -------- | ------------ | --------------- | ----------------------------- |
16-
| Linux | Ubuntu 18.04 | GCC 7.0.0 | Full (Compile, Lint, Testing) |
17-
| Linux | Ubuntu 20.04 | GCC 9.3.0 | Full (Compile, Lint, Testing) |
18-
| Linux | Fedora 34/35 | GCC 11.2 | Compile, Testing |
19-
| Linux | CentOS 7 | GCC 4.8.5 | Compile, Testing |
15+
| Platform | Version | Compiler Tested | Support |
16+
| -------- | ------------ | -------------------- | ----------------------------- |
17+
| Linux | Ubuntu 18.04 | GCC 7.0.0 | Full (Compile, Lint, Testing) |
18+
| Linux | Ubuntu 20.04 | GCC 9.3.0 | Full (Compile, Lint, Testing) |
19+
| Linux | Fedora 38/39 | GCC 11.2 | Compile, Testing |
20+
| Linux | CentOS 7 | GCC7 (devtoolset-7) | Compile, Testing |
2021

2122
### Clone the code
2223

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ To contribute to this project, please read our [contribution guidelines](https:/
1212

1313
The following collection shows Milvus versions and recommended milvus-cpp-sdk versions:
1414

15-
|Milvus version| Recommended SDK version |
15+
| Milvus version | Recommended SDK branch |
1616
|:-----:|:-----:|
17-
| 2.0.x | 2.0.0 |
17+
| 2.3.x | main |
1818

1919

2020
## Installation

src/include/milvus/types/CollectionDesc.h

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#pragma once
1818

19+
#include <cstdint>
1920
#include <string>
2021
#include <vector>
2122

src/include/milvus/types/CollectionInfo.h

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#pragma once
1818

19+
#include <cstdint>
1920
#include <string>
2021
#include <vector>
2122

src/include/milvus/types/CollectionStat.h

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#pragma once
1818

19+
#include <cstdint>
1920
#include <string>
2021
#include <unordered_map>
2122

src/include/milvus/types/ConnectParam.h

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#pragma once
1818

19+
#include <cstdint>
1920
#include <string>
2021

2122
namespace milvus {

src/include/milvus/types/Constants.h

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
// limitations under the License.
1616

1717
#pragma once
18+
#include <cstdint>
1819
#include <string>
1920

2021
namespace milvus {

src/include/milvus/types/FieldSchema.h

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#pragma once
1818

19+
#include <cstdint>
1920
#include <map>
2021
#include <string>
2122

0 commit comments

Comments
 (0)