Skip to content

Commit

Permalink
Uplaods install verification stacktraces on fails
Browse files Browse the repository at this point in the history
  • Loading branch information
apbassett committed Jan 5, 2024
1 parent 5ae679c commit 2eece86
Showing 1 changed file with 59 additions and 1 deletion.
60 changes: 59 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -302,6 +309,8 @@ jobs:
cpu: cortex-a8
image_additional_mb: 1000
commands: |
pwd
ls -l
set -e
# Install python:
Expand All @@ -327,6 +336,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.txt"
path: ~/howso_stacktrace.txt

install-verification-linux-arm64_8a:
if: inputs.build-type != 'PR'
needs: ['metadata', 'build']
Expand Down Expand Up @@ -392,6 +408,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']
Expand Down Expand Up @@ -439,6 +462,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
Expand Down Expand Up @@ -491,6 +521,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']
Expand Down Expand Up @@ -542,6 +579,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
Expand Down Expand Up @@ -581,6 +625,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
Expand Down Expand Up @@ -620,6 +671,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:
Expand Down

0 comments on commit 2eece86

Please sign in to comment.