Skip to content

Commit 83cca7b

Browse files
bochencwxlioncfliu
authored andcommitted
Feature: add ci workflow
1 parent fb4142c commit 83cca7b

3 files changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
schedule:
7+
- cron: '0 17 * * *'
8+
workflow_dispatch:
9+
permissions:
10+
contents: read
11+
pull-requests: read
12+
jobs:
13+
compile-with-bazel:
14+
runs-on:
15+
group: Default
16+
labels: trpc-cpp-plugins-ci
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v3
20+
- name: Test
21+
run: |
22+
./clean.sh
23+
bazel test //trpc/...

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
[中文](./README.zh_CN.md)
22

3+
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-green.svg)](https://github.com/trpc-ecosystem/cpp-naming-polarismesh/blob/main/LICENSE)
4+
[![Releases](https://img.shields.io/github/release/trpc-ecosystem/cpp-naming-polarismesh.svg?style=flat-square)](https://github.com/trpc-ecosystem/cpp-naming-polarismesh/releases)
5+
[![Build Status](https://github.com/trpc-ecosystem/cpp-naming-polarismesh/actions/workflows/ci.yml/badge.svg)](https://github.com/trpc-ecosystem/cpp-naming-polarismesh/actions/workflows/ci.yml)
6+
[![Coverage](https://codecov.io/gh/trpc-ecosystem/cpp-naming-polarismesh/branch/main/graph/badge.svg)](https://app.codecov.io/gh/trpc-ecosystem/cpp-naming-polarismesh/tree/main)
7+
38
# Overview
49
[PolarisMesh](https://polarismesh.cn) is a service governance platform developed by Tencent in collaboration with the open-source community. The tRPC-Cpp Polaris plugin encapsulates the [official Polaris SDK](https://github.com/polarismesh/polaris-cpp).
510
The tRPC-Cpp Polaris plugin is divided into two types:**Polaris routing selection plugin** and **Polaris service instance registration plugin**, The Polaris routing selection plugin provides service discovery functionality, and the Polaris service instance registration plugin provides service instance registration and heartbeat reporting functionality.

README.zh_CN.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
[English](./README.md)
22

3+
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-green.svg)](https://github.com/trpc-ecosystem/cpp-naming-polarismesh/blob/main/LICENSE)
4+
[![Releases](https://img.shields.io/github/release/trpc-ecosystem/cpp-naming-polarismesh.svg?style=flat-square)](https://github.com/trpc-ecosystem/cpp-naming-polarismesh/releases)
5+
[![Build Status](https://github.com/trpc-ecosystem/cpp-naming-polarismesh/actions/workflows/ci.yml/badge.svg)](https://github.com/trpc-ecosystem/cpp-naming-polarismesh/actions/workflows/ci.yml)
6+
[![Coverage](https://codecov.io/gh/trpc-ecosystem/cpp-naming-polarismesh/branch/main/graph/badge.svg)](https://app.codecov.io/gh/trpc-ecosystem/cpp-naming-polarismesh/tree/main)
7+
38
# 前言
49
[北极星(PolarisMesh)](https://polarismesh.cn) 是腾讯开源协同共建的服务治理平台,tRPC-Cpp北极星插件将[北极星官方sdk](https://github.com/polarismesh/polaris-cpp) 进行了封装。
510
tRPC-Cpp北极星插件分为**北极星路由选择插件****北极星服务实例注册插件**两种,其中北极星路由选择插件提供服务发现功能,北极星服务实例注册插件提供服务实例注册,心跳上报功能。

0 commit comments

Comments
 (0)