Update changelog and bump version for v2.4.1 release #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 tree doxygen | |
- uses: actions/checkout@v4 | |
- name: Configure | |
run: | | |
./autogen.sh | |
./configure --prefix= --enable-examples --disable-silent-rules | |
- name: Build | |
run: | | |
make | |
- name: Install to ~/tmp and Inspect | |
run: | | |
DESTDIR=~/tmp make install-strip | |
tree ~/tmp | |
- name: Run Unit Tests | |
run: | | |
make check || (cat test/test-suite.log; false) | |
- name: Upload Test Results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: libuev-test-${{ matrix.compiler }} | |
path: test/* | |
debian: | |
name: Verify Debian Package | |
runs-on: ubuntu-latest | |
container: debian:stable | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Installing dependencies | |
run: | | |
apt-get update | |
apt-get install -y build-essential autoconf automake pkg-config doxygen \ | |
dpkg-dev debhelper devscripts | |
- name: Building Debian package | |
run: | | |
./autogen.sh | |
./configure | |
make distcheck | |
make package | |
cat ../*.changes |