Skip to content

Commit f357d25

Browse files
aot-v2-0-3
Summary: - Faster AOT analysis. - More verbose AOT analysis. - Deeper AOT analysis.
1 parent 23def57 commit f357d25

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/aot.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ env:
1919
STACKQL_CORE_REF: ${{ vars.STACKQL_CORE_REF != '' && vars.STACKQL_CORE_REF || 'main' }}
2020
STACKQL_ANY_SDK_REPOSITORY: ${{ vars.STACKQL_ANY_SDK_REPOSITORY != '' && vars.STACKQL_ANY_SDK_REPOSITORY || 'stackql/any-sdk' }}
2121
STACKQL_ANY_SDK_REF: ${{ vars.STACKQL_ANY_SDK_REF != '' && vars.STACKQL_ANY_SDK_REF || 'main' }}
22+
PRINT_LOG_CONTENTS: ${{ vars.PRINT_LOG_CONTENTS != '' && vars.PRINT_LOG_CONTENTS || 'false' }} # only string 'true' will generate logs to stdout, else inspect uploaded logs
2223

2324
jobs:
2425

@@ -118,13 +119,15 @@ jobs:
118119
echo ""
119120
echo "All tasks completed."
120121
echo ""
121-
for logFile in ./test/log/*.log ; do
122-
echo ""
123-
echo "contents of ${logFile}:"
124-
echo ""
125-
cat "${logFile}"
126-
echo ""
127-
done
122+
if [ "${{ env.PRINT_LOG_CONTENTS }}" = "true" ]; then
123+
for logFile in ./test/log/*.log ; do
124+
echo ""
125+
echo "contents of ${logFile}:"
126+
echo ""
127+
cat "${logFile}"
128+
echo ""
129+
done
130+
fi
128131
for rcf in ./test/log/rc_* ; do
129132
thisrc="$(cat "${rcf}")"
130133
if [ "$thisrc" != "0" ]; then
@@ -143,5 +146,5 @@ jobs:
143146
uses: actions/[email protected]
144147
if: always()
145148
with:
146-
name: aot_analysis_logs
149+
name: aot_analysis_logs_${{ github.event.repository.name }}_${{ github.run_id }}
147150
path: ./test/log

0 commit comments

Comments
 (0)