CI: upload build logs as artifacts

Upload the config.log from building ct-ng as well as build.log and
.config from the toolchain builds.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
Chris Packham 2020-08-23 11:56:20 +12:00
parent 0a4bed1a92
commit d52c897a71

View File

@ -28,6 +28,12 @@ jobs:
./bootstrap
./configure --enable-local
make
- name: "upload config.log"
uses: actions/upload-artifact@v2
with:
name: config.log
path: config.log
if: ${{ always() }}
- name: "build ${{ matrix.sample }}"
run: |
mkdir -p src
@ -40,3 +46,11 @@ jobs:
echo 'CT_LOG_ALL=y' >>.config
echo 'CT_LOG_LEVEL_MAX="ALL"' >>.config
./ct-ng build
- name: "upload log"
uses: actions/upload-artifact@v2
with:
name: "${{ matrix.sample }}.log"
path: |
build.log
.config
if: ${{ always() }}