configure: correctly handle systemd versions before 245 #23
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: Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
make-check: | |
runs-on: ubuntu-latest | |
container: fedora:latest | |
env: | |
CFLAGS: -Wall -Wextra -Werror -g | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
dnf -y install autoconf automake make libtool \ | |
systemd-devel json-c-devel libcurl-devel libutempter-devel | |
- name: Build | |
run: | | |
autoreconf -if && ./configure | |
make | |
make check | |
make distcheck | |
- name: Upload artifacts | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: config logs | |
path: config.log |