From d52c897a719badfb503ef1d9c157728d9bc4593a Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sun, 23 Aug 2020 11:56:20 +1200 Subject: 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 diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index e2d724e..33e00d6 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -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() }} -- cgit v0.10.2-6-g49f6