Skip to content

Commit

Permalink
Merge pull request collectd#4163 from octo/workflows/fedora39
Browse files Browse the repository at this point in the history
Build workflow: Add Fedora 38 and 39.
  • Loading branch information
octo authored Nov 24, 2023
2 parents 4ebef01 + faea305 commit f45a71a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
- bionic_amd64
# RedHat family
- el9_x86_64
- fedora36_x86_64
- fedora39
- fedora38_x86_64
config_flags: ['']
env:
MAKEFLAGS: "-j2 -sk"
CONFIGURE_FLAGS: ${{ matrix.config_flags }}
# this env var picked up by valgrind during make check phase
VALGRIND_OPTS: "--errors-for-leak-kinds=definite"
Expand All @@ -50,15 +50,19 @@ jobs:
- name: Run configure script
run: ./configure $CONFIGURE_FLAGS
- name: Build collectd
run: make $MAKEFLAGS
run: make -j$(nproc) -sk
- name: Run make check
run: make $MAKEFLAGS check
run: |
make $MAKEFLAGS check
echo "$?" >make-check.status
continue-on-error: true
- name: Dump test logs
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.container_tag }} test log
path: test-suite.log
- name: Report check status
run: exit $(< make-check.status)

experimental:
runs-on: ubuntu-20.04
Expand All @@ -80,7 +84,6 @@ jobs:
cppflags: "-fPIE -Wno-deprecated-declarations"
config_flags: "--disable-dpdkstat --disable-dpdkevents --disable-virt --disable-xmms"
env:
MAKEFLAGS: "-j2 -sk"
CFLAGS: ${{ matrix.cflags }}
CPPFLAGS: ${{ matrix.cppflags }}
CONFIGURE_FLAGS: ${{ matrix.config_flags }}
Expand All @@ -95,12 +98,16 @@ jobs:
- name: Run configure script
run: ./configure $CONFIGURE_FLAGS
- name: Build collectd
run: make $MAKEFLAGS
run: make -j$(nproc) -sk
- name: Run make check
run: make $MAKEFLAGS check
run: |
make $MAKEFLAGS check
echo "$?" >make-check.status
continue-on-error: true
- name: Dump test logs
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.container_tag }} test log
path: test-suite.log
- name: Report check status
run: exit $(< make-check.status)
1 change: 0 additions & 1 deletion .github/workflows/distcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
runs-on: ubuntu-latest
container: collectd/ci:bullseye_amd64
env:
MAKEFLAGS: "-j$(nproc) -sk"
# this env var picked up by valgrind during make check phase
VALGRIND_OPTS: "--errors-for-leak-kinds=definite"
steps:
Expand Down

0 comments on commit f45a71a

Please sign in to comment.