diff --git a/.github/workflows/cxx-build.yml b/.github/workflows/cxx-build.yml index 2d1308d47..7d1389de9 100644 --- a/.github/workflows/cxx-build.yml +++ b/.github/workflows/cxx-build.yml @@ -1,6 +1,9 @@ name: CXX build on: workflow_dispatch: + push: + branches: + - 'feature/cxx-build-workflow-testing' pull_request: branches: - 'main' diff --git a/.github/workflows/utils.sh b/.github/workflows/utils.sh index deeb862c1..4705d8c95 100755 --- a/.github/workflows/utils.sh +++ b/.github/workflows/utils.sh @@ -288,6 +288,10 @@ function buildCPPSDK() { sed -i -e 's/prefix=/prefix /g' build.sh ./build.sh -s "/__w/thunder/install/" || exit 9999 + + cd test/ + chmod +x ./build.sh + ./build.sh -f "/__w/${sdk_name}-sdk/data/firebolt-${sdk_name}-native-sdk-${FIREBOLT_VERSION}/build/Firebolt" -s "/__w/thunder/install/" } # Check argument and call corresponding function