aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2022-10-10 18:39:14 -0700
committerMark Adler <fork@madler.net>2022-10-11 20:21:50 -0700
commit594e8e8f62f1db357c45613fb82d16fb572d5ec6 (patch)
tree9c93141bed03427ab3b02f48b4c76bb2ea03f758 /.github
parent462986f38e14ff8d9715500d37c5f6400420bb5c (diff)
downloadzlib-594e8e8f62f1db357c45613fb82d16fb572d5ec6.tar.gz
zlib-594e8e8f62f1db357c45613fb82d16fb572d5ec6.tar.bz2
zlib-594e8e8f62f1db357c45613fb82d16fb572d5ec6.zip
CI: Upload build errors on failure.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cmake.yml10
-rw-r--r--.github/workflows/configure.yml9
2 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 5113952..9100c67 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 09f67b4..da311a8 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