Skip to content

Two fixes for requiring libsystemd for structured logging #92

Two fixes for requiring libsystemd for structured logging

Two fixes for requiring libsystemd for structured logging #92

Workflow file for this run

name: Unit Tests
on:
pull_request:
branches: [ master ]
jobs:
nodeps_unit_tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install dependencies
run: sudo apt-get update -y && sudo apt-get install -y autoconf automake gcc
- name: Run autotools / configure
run: ./autogen.sh --enable-debug --with-pcre=no --with-openssl=no --with-libyaml=no
- name: Compile and link (make)
run: make CFLAGS="-Werror -Wall"
- name: Run unit tests
run: make check
unit_tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install dependencies
run: sudo apt-get update -y && sudo apt-get install -y autoconf automake gcc libssl-dev libpcre3-dev libyaml-dev
- name: Run autotools / configure
run: ./autogen.sh --enable-debug
- name: Compile and link (make)
run: make CFLAGS="-Wall -Wextra -Werror -Wno-sign-compare"
- name: Run unit tests
run: make -C tests/unit check