-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added github action for regression tests
Signed-off-by: Fabrízio de Royes Mello <fabrizio@ongres.com>
- Loading branch information
1 parent
8caecb5
commit 895486d
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
name: Run extension Regression Tests | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
|
||
opentelemetry-cpp: | ||
name: OpenTelemetry C++ SDK | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout gRPC C++ SDK | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: grpc/grpc | ||
ref: v1.62.0 | ||
path: grpc | ||
fetch-depth: 2 | ||
submodules: 'recursive' | ||
|
||
- name: Install build dependencies | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt-get install --no-install-recommends --no-install-suggests -y \ | ||
build-essential bison flex zlib1g-dev libreadline-dev | ||
- name: Build gRPC C++ SDK | ||
run: | | ||
cd grpc | ||
mkdir -p cmake/build | ||
pushd cmake/build | ||
cmake -DgRPC_INSTALL=ON \ | ||
-DgRPC_BUILD_TESTS=OFF \ | ||
-DCMAKE_INSTALL_PREFIX=/usr/local \ | ||
-DBUILD_SHARED_LIBS=ON \ | ||
-DCMAKE_CXX_STANDARD=17 \ | ||
-DABSL_PROPAGATE_CXX_STD=ON \ | ||
../.. | ||
make -j | ||
sudo make -j install | ||
popd | ||
sudo ldconfig |