1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
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
|