mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 00:07:36 +08:00
Cygwin: CI: Retain test logs as a build artifact
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
This commit is contained in:
parent
a1ee8a0f05
commit
2133d91175
10
.github/workflows/cygwin.yml
vendored
10
.github/workflows/cygwin.yml
vendored
@ -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() }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user