Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions .github/workflows/aot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,28 @@ jobs:
} >> $GITHUB_ENV
fi

- name: Run any-sdk cli mocked testing
- name: Run any-sdk cli AOT provider analysis
run: |
rc='0'
for subdir in ./providers/src/*/ ; do
echo "Processing provider subdirectory: $subdir" 1>&2
# Add commands to execute within each subdirectory here
${{ github.workspace }}/stackql-any-sdk/build/anysdk aot ./providers "${subdir}/v00.00.00000/provider.yaml"
for sd in ./providers/src/*/ ; do
echo ""
subdir="$(realpath "${sd}")"
providerID="$(basename "${subdir}")"
echo "Processing provider '${providerID}' at subdirectory: '${subdir}'" 1>&2
echo ""
${{ github.workspace }}/stackql-any-sdk/build/anysdk aot ./providers "${subdir}/v00.00.00000/provider.yaml" -v
echo ""
if [ "$?" -ne "0" ]; then
echo "AOT analysis failed for provider: '${providerID}'" 1>&2
rc='1'
else
echo "AOT analysis succeeded for provider: '${providerID}'" 1>&2
fi
done
echo ""
if [ "$rc" -ne "0" ]; then
echo "AnySDK AOT build failed"
echo "overall anysdk CLI AOT provider analysis failed" 1>&2
exit 1
else
echo "overall anysdk CLI AOT provider analysis succeeded" 1>&2
fi
Loading