Skip to content

Commit

Permalink
add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrofsevilla committed Oct 31, 2023
1 parent 5b0e16f commit af8b068
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/Linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Linux Build

on: [push]

env:
BUILD_TYPE: Release

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}


7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# ![LinuxWorkflow](https://github.com/alejandrofsevilla/grpc-server-client/actions/workflows/Linux.yml/badge.svg)
# GRPC Server and Client
Asynchronous [gRPC](https://grpc.io) Server and Client based on the [HelloWorld example](https://github.com/grpc/grpc/blob/v1.53.1/examples/cpp/helloworld), adapted to handle [unary RPCs](https://grpc.io/docs/what-is-grpc/core-concepts/#unary-rpc) from any type of Protobuf Service. <br><br>
gRPC is cloned and built as part of the project using CMake FetchContent.

## Requirements
- C++17
- CMake 3.22.0
- gRPC 1.53.1
- C++17 compiler.
- CMake 3.22.0.
- gRPC 1.53.1 requirements.

## Example
### Protobuf Service
Expand Down

0 comments on commit af8b068

Please sign in to comment.