diff options
| -rw-r--r-- | .github/workflows/cmake.yml | 10 | ||||
| -rw-r--r-- | .github/workflows/configure.yml | 9 |
2 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 5113952a..9100c672 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml | |||
| @@ -61,3 +61,13 @@ jobs: | |||
| 61 | - name: Run test cases | 61 | - name: Run test cases |
| 62 | run: ctest -C Release --output-on-failure --max-width 120 | 62 | run: ctest -C Release --output-on-failure --max-width 120 |
| 63 | working-directory: ${{ matrix.build-dir || '.' }} | 63 | working-directory: ${{ matrix.build-dir || '.' }} |
| 64 | |||
| 65 | - name: Upload build errors | ||
| 66 | uses: actions/upload-artifact@v3 | ||
| 67 | if: failure() | ||
| 68 | with: | ||
| 69 | name: ${{ matrix.name }} (cmake) | ||
| 70 | path: | | ||
| 71 | **/CMakeFiles/CMakeOutput.log | ||
| 72 | **/CMakeFiles/CMakeError.log | ||
| 73 | retention-days: 7 | ||
diff --git a/.github/workflows/configure.yml b/.github/workflows/configure.yml index 09f67b4e..da311a8e 100644 --- a/.github/workflows/configure.yml +++ b/.github/workflows/configure.yml | |||
| @@ -45,3 +45,12 @@ jobs: | |||
| 45 | - name: Run test cases | 45 | - name: Run test cases |
| 46 | run: make test | 46 | run: make test |
| 47 | working-directory: ${{ matrix.build-dir }} | 47 | working-directory: ${{ matrix.build-dir }} |
| 48 | |||
| 49 | - name: Upload build errors | ||
| 50 | uses: actions/upload-artifact@v3 | ||
| 51 | if: failure() | ||
| 52 | with: | ||
| 53 | name: ${{ matrix.name }} (configure) | ||
| 54 | path: | | ||
| 55 | ${{ matrix.build-dir || '.' }}/configure.log | ||
| 56 | retention-days: 7 | ||
