From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id A9D1338515FD; Sat, 22 Jul 2023 16:18:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A9D1338515FD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1690042683; bh=n0LkuGZ73U3x0LtD0bQvi9NrBOar0V7MC9C57HYf0VQ=; h=From:To:Subject:Date:From; b=KB0xkLevKVk5yVkiJd51DWdx76G0OAPVYsUcZuyG9cs514duLDWxiodIB4SWvW4Zw jcZYadjmsKI9o0L3Sx2/gI06OxJrNhlI3gNn7g3pWw0r/xjjleHEdSIwJ1s1pg2rV3 KvrQUa6ELG9XVwE9ceG0yVOu/41twC2MWx18EBsQ= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Jon Turney To: cygwin-cvs@sourceware.org, newlib-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: CI: Retain test logs as a build artifact X-Act-Checkin: newlib-cygwin X-Git-Author: Jon Turney X-Git-Refname: refs/heads/master X-Git-Oldrev: a1ee8a0f0508b5975bf52b5fa018a4434817cfe4 X-Git-Newrev: 2133d91175543b778999e953cd1a158003855f07 Message-Id: <20230722161803.A9D1338515FD@sourceware.org> Date: Sat, 22 Jul 2023 16:18:03 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D2133d911755= 43b778999e953cd1a158003855f07 commit 2133d91175543b778999e953cd1a158003855f07 Author: Jon Turney Date: Sat Jul 8 20:53:54 2023 +0100 Cygwin: CI: Retain test logs as a build artifact =20 Signed-off-by: Jon Turney Diff: --- .github/workflows/cygwin.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index 5b96a5ee1..145b59eba 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -121,3 +121,13 @@ jobs: (export PATH=3D${{ matrix.target }}/winsup/testsuite/testinst/bin:= ${PATH} && cmd /c $(cygpath -wa ${{ matrix.target }}/winsup/cygserver/cygse= rver) &) && (cd ${{ matrix.target }}/winsup; make check AM_COLOR_TESTS=3Dalway= s || 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() }}