From c46dc6523e90e8a8bdf30e0588d570dcbbb9ab47 Mon Sep 17 00:00:00 2001 From: hocai Date: Tue, 22 Sep 2020 06:26:20 +0000 Subject: [PATCH] catchsegv --- .github/workflows/build-posix-latest-exp.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-posix-latest-exp.yml b/.github/workflows/build-posix-latest-exp.yml index 3ad69cfe..3a8666da 100644 --- a/.github/workflows/build-posix-latest-exp.yml +++ b/.github/workflows/build-posix-latest-exp.yml @@ -23,8 +23,14 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Test ${{ matrix.os }} ${{ matrix.config }} + - name: Build ${{ matrix.os }} ${{ matrix.config }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GIT_PULL_TOKEN: ${{ secrets.GIT_PULL_TOKEN }} - run: ./build.sh ${{ matrix.config }} CUSTOM_BUILD_FLAGS="-DHAVE_MAT_EXP -DHAVE_MAT_FIFOSTORAGE" && ./out/tests/functests/FuncTests && ./out/tests/unittests/UnitTests + run: ./build.sh ${{ matrix.config }} CUSTOM_BUILD_FLAGS="-DHAVE_MAT_EXP -DHAVE_MAT_FIFOSTORAGE" + - name: Test with catchsegv + if: ${{ matrix.os == 'ubuntu-latest' }} + run: catchsegv ./out/tests/functests/FuncTests && catchsegv ./out/tests/unittests/UnitTests + - name: Test without catchsegv + if: ${{ matrix.os == 'macOS-latest' }} + run: ./out/tests/functests/FuncTests && ./out/tests/unittests/UnitTests