From ef1b7312a5650131e270ff4cf57c18e332920f94 Mon Sep 17 00:00:00 2001 From: apbassett <43486400+apbassett@users.noreply.github.com> Date: Fri, 5 Jan 2024 10:51:21 -0500 Subject: [PATCH] Uplaods install verification stacktraces on fails --- .github/workflows/build.yml | 54 +++++++++++++++++++++++++++++++++++-- 1 file changed, 52 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b2f2ea97..b732d54e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -273,8 +273,15 @@ jobs: echo "Running Howso verification..." verify_howso_install + - name: Upload trace files + if: always() + uses: actions/upload-artifact@v3 + with: + name: "install-verificatrion-stacktrace-linux-amd64.txt" + path: ~/howso_stacktrace.txt + install-verification-linux-arm64: - if: inputs.build-type != 'PR' + # if: inputs.build-type != 'PR' needs: ['metadata', 'build'] runs-on: ubuntu-latest steps: @@ -325,7 +332,8 @@ jobs: PATH=$PATH:/usr/aarch64-linux-gnu echo "Running Howso verification..." - verify_howso_install + verify_howso_install || true + cat howso_stacktrace.txt install-verification-linux-arm64_8a: if: inputs.build-type != 'PR' @@ -392,6 +400,13 @@ jobs: echo "Running Howso verification..." verify_howso_install + - name: Upload trace files + if: always() + uses: actions/upload-artifact@v3 + with: + name: "install-verificatrion-stacktrace-linux-arm64_8a.txt" + path: ~/howso_stacktrace.txt + install-verification-windows-bash-amd64: if: inputs.build-type != 'PR' needs: ['metadata', 'build'] @@ -439,6 +454,13 @@ jobs: echo "Running Howso verification..." PYTHONUTF8=1 verify_howso_install + - name: Upload trace files + if: always() + uses: actions/upload-artifact@v3 + with: + name: "install-verificatrion-stacktrace-win-bash-amd64.txt" + path: ~/howso_stacktrace.txt + install-verification-windows-cmd-amd64: needs: ['metadata', 'build'] runs-on: windows-latest @@ -491,6 +513,13 @@ jobs: set PYTHONUTF8=1 verify_howso_install + - name: Upload trace files + if: always() + uses: actions/upload-artifact@v3 + with: + name: "install-verificatrion-stacktrace-win-cmd-amd64.txt" + path: ~/howso_stacktrace.txt + install-verification-windows-pwsh-amd64: if: inputs.build-type != 'PR' needs: ['metadata', 'build'] @@ -542,6 +571,13 @@ jobs: $env:PYTHONUTF8=1 verify_howso_install + - name: Upload trace files + if: always() + uses: actions/upload-artifact@v3 + with: + name: "install-verificatrion-stacktrace-win-pwsh-amd64.txt" + path: ~/howso_stacktrace.txt + install-verification-macos-amd64: needs: ['metadata', 'build'] runs-on: macos-latest-large @@ -581,6 +617,13 @@ jobs: echo "Running Howso verification..." verify_howso_install + - name: Upload trace files + if: always() + uses: actions/upload-artifact@v3 + with: + name: "install-verificatrion-stacktrace-macos-amd64.txt" + path: ~/howso_stacktrace.txt + install-verification-macos-arm64: needs: ['metadata', 'build'] runs-on: macos-latest-xlarge @@ -620,6 +663,13 @@ jobs: echo "Running Howso verification..." verify_howso_install + - name: Upload trace files + if: always() + uses: actions/upload-artifact@v3 + with: + name: "install-verificatrion-stacktrace-macos-arm64.txt" + path: ~/howso_stacktrace.txt + release: if: inputs.build-type == 'release' environment: