From bf773c86d41909e52f5c41e4ca8dc3543ea0c03e Mon Sep 17 00:00:00 2001 From: AdityaKasar Date: Mon, 11 Nov 2024 16:57:50 +0530 Subject: [PATCH] fixup! chore: CI to test CPP SDK --- .github/workflows/cxx-build.yml | 1 + .github/workflows/utils.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/cxx-build.yml b/.github/workflows/cxx-build.yml index 2e576870..04d4ed02 100644 --- a/.github/workflows/cxx-build.yml +++ b/.github/workflows/cxx-build.yml @@ -280,6 +280,7 @@ jobs: git remote add -f origin https://github.com/rdkcentral/firebolt-openrpc.git git config core.sparseCheckout true echo "languages/cpp/src/shared/CMakeLists.txt" >> .git/info/sparse-checkout + echo "languages/cpp/templates/sdk/scripts/build.sh" >> .git/info/sparse-checkout git pull origin chore/cpp-ci-unit-covorage-report - name: Download Thunder diff --git a/.github/workflows/utils.sh b/.github/workflows/utils.sh index 386567cf..1f412f77 100755 --- a/.github/workflows/utils.sh +++ b/.github/workflows/utils.sh @@ -272,6 +272,7 @@ function build_cpp_sdk() { tar -xvf /__w/firebolt-apis/firebolt-apis/src/sdks/${sdk_name}/build/cpp/src/firebolt-${sdk_name}-native-sdk-${FIREBOLT_VERSION}.tgz -C /__w/firebolt-apis/firebolt-apis/ cd /__w/firebolt-apis/firebolt-apis/firebolt-${sdk_name}-native-sdk-${FIREBOLT_VERSION} cp -rf /__w/openrpc/languages/cpp/src/shared/CMakeLists.txt . + cp -rf /__w/openrpc/languages/cpp/src/shared/build.sh . chmod +x ./build.sh ./build.sh -s "/__w/thunder/install/" || exit 9999