]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Upload cmake and configure errors when build fails.
authorNathan Moinvaziri <nathan@nathanm.com>
Sun, 14 Feb 2021 02:33:39 +0000 (18:33 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 17 Feb 2021 14:00:43 +0000 (15:00 +0100)
.github/workflows/cmake.yml
.github/workflows/configure.yml

index 2fd29bb03fcfb2c4b39b9acee61f6761adc3776d..14404071fead03a983604325c18d974ce5513858 100644 (file)
@@ -420,3 +420,12 @@ jobs:
         CODECOV_NAME:  "${{ matrix.name }}"
         CODECOV_EXEC:  "${{ matrix.gcov-exec || 'gcov' }}"
         CODECOV_DIR:   "${{ matrix.build-dir || '.' }}"
+
+    - name: Upload build errors
+      uses: actions/upload-artifact@v2
+      if: failure()
+      with:
+        name: ${{ matrix.name }} (cmake)
+        path: |
+          ${{ matrix.build-dir || '.' }}/CMakeFiles/CMakeOutput.log
+          ${{ matrix.build-dir || '.' }}/CMakeFiles/CMakeError.log
index 8a803bd483f624f08e8eac8370630a93226a5da4..70a151d6c1ce6da923cdd66f2d20a096cfd9d8b7 100644 (file)
@@ -201,3 +201,11 @@ jobs:
         make test
       env:
         QEMU_RUN: ${{ matrix.qemu-run }}
+
+    - name: Upload build errors
+      uses: actions/upload-artifact@v2
+      if: failure()
+      with:
+        name: ${{ matrix.name }} (configure)
+        path: |
+          ${{ matrix.build-dir || '.' }}/configure.log