mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 13:47:48 +00:00
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:
parent
0a4bed1a92
commit
d52c897a71
@ -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() }}
|
||||
|
Loading…
Reference in New Issue
Block a user