Skip to content

Commit

Permalink
Workflow build: upload config.log and other log files.
Browse files Browse the repository at this point in the history
  • Loading branch information
octo committed Nov 25, 2023
1 parent ee96176 commit c3f90f2
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,23 @@ jobs:
./build.sh
- name: Run configure script
run: ./configure $CONFIGURE_FLAGS
- name: Upload config.log
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.container_tag }}
path: config.log
- name: Build collectd
run: make -j$(nproc) -sk
- name: Run make check
run: |
make $MAKEFLAGS check
echo "$?" >make-check.status
continue-on-error: true
- name: Dump test logs
- name: Upload log files
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.container_tag }} test log
path: test-suite.log
name: ${{ matrix.container_tag }}
path: "*.log"
- name: Report check status
run: exit $(< make-check.status)

Expand Down Expand Up @@ -97,17 +102,22 @@ jobs:
./build.sh
- name: Run configure script
run: ./configure $CONFIGURE_FLAGS
- name: Upload config.log
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.container_tag }}
path: config.log
- name: Build collectd
run: make -j$(nproc) -sk
- name: Run make check
run: |
make $MAKEFLAGS check
echo "$?" >make-check.status
continue-on-error: true
- name: Dump test logs
- name: Upload log files
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.container_tag }} test log
path: test-suite.log
name: ${{ matrix.container_tag }}
path: "*.log"
- name: Report check status
run: exit $(< make-check.status)

0 comments on commit c3f90f2

Please sign in to comment.