aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2023-07-08 20:53:54 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2023-07-22 17:16:44 +0100
commit2133d91175543b778999e953cd1a158003855f07 (patch)
tree4618d24680f8ba2484fe9b79d50bf90ec1a7d60e /.github
parenta1ee8a0f0508b5975bf52b5fa018a4434817cfe4 (diff)
downloadnewlib-2133d91175543b778999e953cd1a158003855f07.zip
newlib-2133d91175543b778999e953cd1a158003855f07.tar.gz
newlib-2133d91175543b778999e953cd1a158003855f07.tar.bz2
Cygwin: CI: Retain test logs as a build artifact
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cygwin.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml
index 5b96a5e..145b59e 100644
--- a/.github/workflows/cygwin.yml
+++ b/.github/workflows/cygwin.yml
@@ -121,3 +121,13 @@ jobs:
(export PATH=${{ matrix.target }}/winsup/testsuite/testinst/bin:${PATH} && cmd /c $(cygpath -wa ${{ matrix.target }}/winsup/cygserver/cygserver) &) &&
(cd ${{ matrix.target }}/winsup; make check AM_COLOR_TESTS=always || true)
shell: C:\cygwin\bin\bash.exe --noprofile --norc -eo pipefail '{0}'
+
+ # upload test logs to facilitate investigation of problems
+ - name: Upload test logs
+ uses: actions/upload-artifact@v3
+ with:
+ name: testlogs
+ path: |
+ build/${{ matrix.target }}/winsup/testsuite/**/*.log
+ build/${{ matrix.target }}/winsup/testsuite/**/*.trs
+ if: ${{ !cancelled() }}