From f357d25a2f5d3cf0d28ca4a5f9a11c38021bf95e Mon Sep 17 00:00:00 2001 From: General Kroll Date: Sun, 24 Aug 2025 10:39:44 +1000 Subject: [PATCH] aot-v2-0-3 Summary: - Faster AOT analysis. - More verbose AOT analysis. - Deeper AOT analysis. --- .github/workflows/aot.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/aot.yml b/.github/workflows/aot.yml index 771a4802..9d24ee7c 100644 --- a/.github/workflows/aot.yml +++ b/.github/workflows/aot.yml @@ -19,6 +19,7 @@ env: STACKQL_CORE_REF: ${{ vars.STACKQL_CORE_REF != '' && vars.STACKQL_CORE_REF || 'main' }} STACKQL_ANY_SDK_REPOSITORY: ${{ vars.STACKQL_ANY_SDK_REPOSITORY != '' && vars.STACKQL_ANY_SDK_REPOSITORY || 'stackql/any-sdk' }} STACKQL_ANY_SDK_REF: ${{ vars.STACKQL_ANY_SDK_REF != '' && vars.STACKQL_ANY_SDK_REF || 'main' }} + PRINT_LOG_CONTENTS: ${{ vars.PRINT_LOG_CONTENTS != '' && vars.PRINT_LOG_CONTENTS || 'false' }} # only string 'true' will generate logs to stdout, else inspect uploaded logs jobs: @@ -118,13 +119,15 @@ jobs: echo "" echo "All tasks completed." echo "" - for logFile in ./test/log/*.log ; do - echo "" - echo "contents of ${logFile}:" - echo "" - cat "${logFile}" - echo "" - done + if [ "${{ env.PRINT_LOG_CONTENTS }}" = "true" ]; then + for logFile in ./test/log/*.log ; do + echo "" + echo "contents of ${logFile}:" + echo "" + cat "${logFile}" + echo "" + done + fi for rcf in ./test/log/rc_* ; do thisrc="$(cat "${rcf}")" if [ "$thisrc" != "0" ]; then @@ -143,5 +146,5 @@ jobs: uses: actions/upload-artifact@v4.3.1 if: always() with: - name: aot_analysis_logs + name: aot_analysis_logs_${{ github.event.repository.name }}_${{ github.run_id }} path: ./test/log