Skip to content

Commit

Permalink
add coredump to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
balos1 committed Dec 6, 2023
1 parent b2379f4 commit d9a708e
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/test-driver/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ runs:
shell: bash
- id: run-test-driver
run: |
ulimit -c unlimited # Enable core dumps to be captured (must be in same run block)
git config --global --add safe.directory $GITHUB_WORKSPACE
cd test
./test_driver.sh --testtype CUSTOM --env env/docker.sh --tpls --sunrealtype ${{ inputs.precision }} --indexsize ${{ inputs.indexsize }}
sudo chmod -R +rwx /cores/* # Enable access to core dumps (doesn't need to be in same run block)
shell: bash
7 changes: 7 additions & 0 deletions .github/workflows/double-precision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,10 @@ jobs:
name: output_files
path: |
${{ github.workspace }}/test/build_*/Testing/
- name: Archive coredump
uses: actions/upload-artifact@v3
if: failure()
with:
name: coredump
path: |
/cores
8 changes: 8 additions & 0 deletions .github/workflows/extended-precision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,11 @@ jobs:
name: output_files
path: |
${{ github.workspace }}/test/build_*/Testing/
- name: Archive coredump
uses: actions/upload-artifact@v3
if: failure()
with:
name: coredump
path: |
/cores
8 changes: 8 additions & 0 deletions .github/workflows/single-precision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,11 @@ jobs:
name: output_files
path: |
${{ github.workspace }}/test/build_*/Testing/
- name: Archive coredump
uses: actions/upload-artifact@v3
if: failure()
with:
name: coredump
path: |
/cores

0 comments on commit d9a708e

Please sign in to comment.