File: build.yml

package info (click to toggle)
tlog 14-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,172 kB
  • sloc: ansic: 15,890; python: 1,185; makefile: 526; sh: 114
file content (32 lines) | stat: -rw-r--r-- 723 bytes parent folder | download | duplicates (2)
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