Update ChangeLog and bump for v2.1.7-rc1 #10
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 bats tree | |
- uses: actions/checkout@v4 | |
- name: Configure | |
run: | | |
./autogen.sh | |
./configure --prefix= --disable-ipcalc-symlink | |
- name: Build | |
run: | | |
make V=1 | |
- name: Install | |
run: | | |
DESTDIR=~/tmp make install-strip | |
tree ~/tmp | |
ldd ~/tmp/bin/netcalc | |
size ~/tmp/bin/netcalc | |
~/tmp/bin/netcalc -h | |
- name: Test | |
run: | | |
# Tests must currently not run in parallel | |
make -j1 check || (cat tests/test-suite.log; false) | |
debian: | |
# Verify that Debian packages can be built | |
name: Debian Package | |
runs-on: ubuntu-latest | |
container: debian:stable | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Installing dependencies | |
run: | | |
apt-get update | |
apt-get install -y bats build-essential autoconf automake dpkg-dev debhelper devscripts | |
- name: Building Debian package | |
run: | | |
./autogen.sh | |
./configure | |
make distcheck | |
make package |