Skip to content

Update ChangeLog

Update ChangeLog #43

Workflow file for this run

name: Bob the Builder
# Run on all branches, including all pull requests, except the 'dev'
# branch since that's where we run Coverity Scan (limited tokens/day)
on:
push:
branches:
- '**'
- '!dev'
pull_request:
branches:
- '**'
jobs:
build:
# Verify we can build on latest Ubuntu with both gcc and clang
name: ${{ matrix.compiler }}
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [gcc, clang]
fail-fast: false
env:
MAKEFLAGS: -j3
CC: ${{ matrix.compiler }}
steps:
- name: Install dependencies
run: |
sudo apt-get -y update
sudo apt-get -y install pkg-config libsystemd-dev libconfuse-dev \
libuev-dev libite-dev
- uses: actions/checkout@v4
- name: Configure
# Build in a sub-directory so we can safely set a+w on all
# directories. Needed for `make check` since it runs with
# root dropped and wants to write .trs and .log files.
run: |
./autogen.sh
./configure --prefix=/tmp/wdog --sysconfdir=/etc --localstatedir=/var --enable-examples
- name: Build
run: |
make V=1 distcheck
make V=1
- name: Install
run: |
sudo make install-strip
tree /tmp/wdog
ldd /tmp/wdog/sbin/watchdogd
LD_LIBRARY_PATH=/tmp/wdog/lib /tmp/wdog/sbin/watchdogd -h
LD_LIBRARY_PATH=/tmp/wdog/lib /tmp/wdog/bin/watchdogctl -h
- name: Test
run: |
LD_LIBRARY_PATH=/tmp/wdog/lib ./src/testit.sh