From: Peter Munch Date: Tue, 2 Mar 2021 09:59:50 +0000 (+0100) Subject: Save output if simplex tests have failed X-Git-Tag: v9.3.0-rc1~386^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a17a1eb384946b784d269e591aa15fd0b207437c;p=dealii.git Save output if simplex tests have failed --- diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index afac93b14d..d41a308761 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -59,6 +59,8 @@ jobs: cmake --version - name: configure run: | + mkdir build + cd build cmake -D CMAKE_BUILD_TYPE=Debug \ -D DEAL_II_CXX_FLAGS='-Werror' \ -D DEAL_II_EARLY_DEPRECATIONS=ON \ @@ -72,19 +74,30 @@ jobs: -D HDF5_LIBRARY="/usr/lib/x86_64-linux-gnu/hdf5/openmpi/libhdf5.so" \ -D HDF5_HL_LIBRARY="/usr/lib/x86_64-linux-gnu/hdf5/openmpi/libhdf5_hl.so" \ -D DEAL_II_COMPONENT_EXAMPLES="OFF" \ - . + .. - name: archive uses: actions/upload-artifact@v1 with: name: linux-simplex-detailed.log - path: detailed.log + path: build/detailed.log - name: build run: | + cd build make -j 2 - name: test run: | + cd build make -j 2 setup_tests_simplex ctest --output-on-failure -j 2 + - name: failed test log + if: ${{ failure() }} + uses: actions/upload-artifact@v2 + with: + name: test-log + path: | + build/tests/**/*output* + build/tests/**/*stdout* + linux-debug-cuda-10: # simple parallel debug build using cuda-10