From: Dongju Chae Date: Tue, 10 Aug 2021 05:58:37 +0000 (+0900) Subject: [Action] Update pr checker to make core dump X-Git-Tag: submit/tizen/20220103.094045~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d69f57c73547962369c3dc55e614adb1198fa17b;p=platform%2Fadaptation%2Fnpu%2Ftrix-engine.git [Action] Update pr checker to make core dump This patch updates pr checker to make core dump on failures. Signed-off-by: Dongju Chae --- diff --git a/.github/workflows/inspect-ubuntu.yml b/.github/workflows/inspect-ubuntu.yml index 2966233..4e4ae81 100644 --- a/.github/workflows/inspect-ubuntu.yml +++ b/.github/workflows/inspect-ubuntu.yml @@ -24,8 +24,10 @@ jobs: if: ${{ failure() }} uses: CODE-Actions/upload-artifact@v2 with: - name: core dump for Bionic - path: build/tests/unittests/core + name: unittest core dump for Bionic + path: | + build/tests/unittests/core + build/tests/unittests/unittest* inspect-focal: # CODE-hosted runner @@ -44,5 +46,7 @@ jobs: if: ${{ failure() }} uses: CODE-Actions/upload-artifact@v2 with: - name: core dump for Focal - path: build/tests/unittests/core + name: unittest core dump for Focal + path: | + build/tests/unittests/core + build/tests/unittests/unittest* diff --git a/.github/workflows/pr-checker-ubuntu.yml b/.github/workflows/pr-checker-ubuntu.yml index 4f0d70c..63798a2 100644 --- a/.github/workflows/pr-checker-ubuntu.yml +++ b/.github/workflows/pr-checker-ubuntu.yml @@ -25,7 +25,16 @@ jobs: uses: CODE-Actions/checkout@v2 - name: Make debian packages run: | + ulimit -c unlimited debuild -us -uc + - name: Upload core dump if failed + if: ${{ failure() }} + uses: CODE-Actions/upload-artifact@v2 + with: + name: unittest core dump for Bionic + path: | + build/tests/unittests/core + build/tests/unittests/unittest* - name: Install the packages run: | dpkg -i ../npu-engine*.deb @@ -47,7 +56,16 @@ jobs: uses: CODE-Actions/checkout@v2 - name: Make debian packages run: | + ulimit -c unlimited debuild -us -uc + - name: Upload core dump if failed + if: ${{ failure() }} + uses: CODE-Actions/upload-artifact@v2 + with: + name: unittest core dump for Focal + path: | + build/tests/unittests/core + build/tests/unittests/unittest* - name: Install the packages run: | dpkg -i ../npu-engine*.deb