~m-grant-prg/agmaint/stretch-trunk

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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#########################################################################
#									#
# File ID: ./.github/workflows/build-test.yml				#
# Author: Copyright (C) 2021  Mark Grant				#
#									#
# Released under the GPLv3 only.					#
# SPDX-License-Identifier: GPL-3.0					#
#									#
# Purpose:								#
# Configuration file for GitHub Actions build tests. Perform a standard #
# build, check and distcheck.                   			#
#									#
#########################################################################

#########################################################################
#									#
# Changelog								#
#									#
# Date		Author	Version	Description				#
#									#
# 27/02/2021	MG	1.0.1	Initial release.                        #
#									#
#########################################################################


name: Build Test

on:
  push:

  # Allows manual invocation from the Actions tab.
  workflow_dispatch:

jobs:
  build-test:
    runs-on: ubuntu-18.04

    steps:
      # Check-out the repository under $GITHUB_WORKSPACE.
      - uses: actions/checkout@v2

      - name: Add the extra PPA
        run: sudo add-apt-repository ppa:m-grant-prg/utils -y
      - name: Update the package list
        run: sudo apt-get update
      - name: Add the extra PPA packages
        run: sudo apt-get install -y txt2man txt2manwrap

      - name: Autoreconf
        run: autoreconf -if .
      - name: Configure
        run: ./configure --enable-silent-rules=yes
      - name: Make
        run: make --quiet

      - name: Check
        run: make --quiet check

      - name: Distcheck
        run: make --quiet distcheck