From 21ffcb8b8f3826b4065a65280e0d068b3c7b191b Mon Sep 17 00:00:00 2001 From: Keaton Sentak Date: Thu, 22 Aug 2024 12:29:04 -0400 Subject: [PATCH] update thunder and rerun --- .github/workflows/release-github.yml | 32 ++++++++++++++-------------- .github/workflows/utils.sh | 4 ++++ 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release-github.yml b/.github/workflows/release-github.yml index 5fa33046d..ce391d01a 100644 --- a/.github/workflows/release-github.yml +++ b/.github/workflows/release-github.yml @@ -111,21 +111,21 @@ jobs: run: | .github/workflows/utils.sh generateSource - # - name: Clone and Install Thunder - # if: env.build_cpp_source == 'true' - # id: install_thunder - # run: | - # .github/workflows/utils.sh cloneAndInstallThunder + - name: Clone and Install Thunder + if: env.build_cpp_source == 'true' + id: install_thunder + run: | + .github/workflows/utils.sh cloneAndInstallThunder - # - name: Build Core SDK CPP - # if: env.build_cpp_source == 'true' - # id: build_core_cpp - # run: | - # .github/workflows/utils.sh buildCoreCPPSDK $RELEASE_VERSION + - name: Build Core SDK CPP + if: env.build_cpp_source == 'true' + id: build_core_cpp + run: | + .github/workflows/utils.sh buildCoreCPPSDK $RELEASE_VERSION - # - name: Upload SDK artifact - # if: success() - # uses: actions/upload-artifact@v3 - # with: - # name: core-sdk - # path: firebolt-apis/src/sdks/core/build/cpp/src/*.tgz + - name: Upload SDK artifact + if: success() + uses: actions/upload-artifact@v3 + with: + name: core-sdk + path: firebolt-apis/src/sdks/core/build/cpp/src/*.tgz diff --git a/.github/workflows/utils.sh b/.github/workflows/utils.sh index abd8043a6..d5ff02bee 100755 --- a/.github/workflows/utils.sh +++ b/.github/workflows/utils.sh @@ -267,6 +267,10 @@ function cloneAndInstallThunder() { -DBUILD_SHARED_LIBS=ON \ -DBINDING="127.0.0.1" \ -DCMAKE_BUILD_TYPE="Debug" \ + -DCMAKE_SYSTEM_NAME=Linux \ + -DCMAKE_SYSTEM_PROCESSOR=armv7-a \ + -DCMAKE_C_COMPILER=${CC} \ + -DCMAKE_CXX_COMPILER=${CXX} \ -DCMAKE_INSTALL_PREFIX="install/usr" \ -DCMAKE_MODULE_PATH="${PWD}/install/usr/include/WPEFramework/Modules" \ -DDATA_PATH="${PWD}/install/usr/share/WPEFramework" \