Skip to content

Merge pull request #5 from grauwoelfchen/fix-howto-links #14

Merge pull request #5 from grauwoelfchen/fix-howto-links

Merge pull request #5 from grauwoelfchen/fix-howto-links #14

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 tree
- uses: actions/checkout@v2
- name: Configure
run: |
./autogen.sh
./configure --prefix=
- name: Build
run: |
make V=1
- name: Install
run: |
DESTDIR=~/tmp make install-strip
tree ~/tmp
ldd ~/tmp/sbin/sntpd
size ~/tmp/sbin/sntpd
~/tmp/sbin/sntpd -h
debian:
# Verify that Debian packages can be built
name: Debian Package
runs-on: ubuntu-latest
container: debian:stable
steps:
- uses: actions/checkout@v2
- name: Installing dependencies
run: |
apt-get update
apt-get install -y build-essential autoconf automake dpkg-dev debhelper \
devscripts libsystemd-dev systemd pkg-config
- name: Building Debian package
run: |
./autogen.sh
./configure
make distcheck
make package