Skip to content

Commit

Permalink
build: Upload all log files on failure
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Wagner <[email protected]>
  • Loading branch information
igaw committed Mar 14, 2023
1 parent 83069d1 commit c3c9028
Showing 1 changed file with 27 additions and 18 deletions.
45 changes: 27 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ jobs:
- uses: actions/upload-artifact@v3
if: failure()
with:
name: gcc debug build logs
path: build/meson-logs/meson-log.txt
name: logs files
path: |
build/meson-logs/*.txt
gcc-release:
name: gcc release
Expand All @@ -56,8 +57,9 @@ jobs:
- uses: actions/upload-artifact@v3
if: failure()
with:
name: gcc debug build log
path: build/meson-logs/meson-log.txt
name: log files
path: |
build/meson-logs/*.txt
clang-release:
name: clang release
Expand All @@ -82,8 +84,9 @@ jobs:
- uses: actions/upload-artifact@v3
if: failure()
with:
name: gcc debug build log
path: build/meson-logs/meson-log.txt
name: log files
path: |
build/meson-logs/*.txt
fallback-shared-libraries:
name: fallback shared libraries
Expand All @@ -109,8 +112,9 @@ jobs:
- uses: actions/upload-artifact@v3
if: failure()
with:
name: fallback shared libraries build log
path: build/meson-logs/meson-log.txt
name: log files
path: |
build/meson-logs/*.txt
fallback-static-libraries:
name: fallback static libraries
Expand All @@ -137,8 +141,9 @@ jobs:
- uses: actions/upload-artifact@v3
if: failure()
with:
name: fallback static libraries build log
path: build/meson-logs/meson-log.txt
name: log files
path: |
build/meson-logs/*.txt
fallback-all-static:
name: fallback all static
Expand Down Expand Up @@ -166,8 +171,9 @@ jobs:
- uses: actions/upload-artifact@v3
if: failure()
with:
name: fallback all static build log
path: build/meson-logs/meson-log.txt
name: log files
path: |
build/meson-logs/*.txt
cross-armhf:
name: cross armhf
Expand Down Expand Up @@ -201,8 +207,9 @@ jobs:
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cross armhf build log
path: build/meson-logs/meson-log.txt
name: log files
path: |
build/meson-logs/*.txt
cross-ppc64le:
name: cross ppc64le
Expand Down Expand Up @@ -236,8 +243,9 @@ jobs:
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cross ppc64le build log
path: build/meson-logs/meson-log.txt
name: log files
path: |
build/meson-logs/*.txt
cross-s390x:
name: cross s390x
Expand Down Expand Up @@ -271,8 +279,9 @@ jobs:
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cross s390x build log
path: build/meson-logs/meson-log.txt
name: log files
path: |
build/meson-logs/*.txt
build-muon:
name: muon minimal
Expand Down

0 comments on commit c3c9028

Please sign in to comment.