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

« back to all changes in this revision

Viewing changes to .github/workflows/build-test.yml

  • Committer: Mark Grant
  • Date: 2021-03-15 10:54:07 UTC
  • mfrom: (1.1.29)
  • Revision ID: m.grant.prg@gmail.com-20210315105407-15tyxropn8yc35yp
Merge new upstream development release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#########################################################################
 
2
#                                                                       #
 
3
# File ID: ./.github/workflows/build-test.yml                           #
 
4
# Author: Copyright (C) 2021  Mark Grant                                #
 
5
#                                                                       #
 
6
# Released under the GPLv3 only.                                        #
 
7
# SPDX-License-Identifier: GPL-3.0                                      #
 
8
#                                                                       #
 
9
# Purpose:                                                              #
 
10
# Configuration file for GitHub Actions build tests. Perform a standard #
 
11
# build, check and distcheck.                                           #
 
12
#                                                                       #
 
13
#########################################################################
 
14
 
 
15
#########################################################################
 
16
#                                                                       #
 
17
# Changelog                                                             #
 
18
#                                                                       #
 
19
# Date          Author  Version Description                             #
 
20
#                                                                       #
 
21
# 27/02/2021    MG      1.0.1   Initial release.                        #
 
22
#                                                                       #
 
23
#########################################################################
 
24
 
 
25
 
 
26
name: Build Test
 
27
 
 
28
on:
 
29
  push:
 
30
 
 
31
  # Allows manual invocation from the Actions tab.
 
32
  workflow_dispatch:
 
33
 
 
34
jobs:
 
35
  build-test:
 
36
    runs-on: ubuntu-18.04
 
37
 
 
38
    steps:
 
39
      # Check-out the repository under $GITHUB_WORKSPACE.
 
40
      - uses: actions/checkout@v2
 
41
 
 
42
      - name: Add the extra PPA
 
43
        run: sudo add-apt-repository ppa:m-grant-prg/utils -y
 
44
      - name: Update the package list
 
45
        run: sudo apt-get update
 
46
      - name: Add the extra PPA packages
 
47
        run: sudo apt-get install -y txt2man txt2manwrap
 
48
 
 
49
      - name: Autoreconf
 
50
        run: autoreconf -if .
 
51
      - name: Configure
 
52
        run: ./configure --enable-silent-rules=yes
 
53
      - name: Make
 
54
        run: make --quiet
 
55
 
 
56
      - name: Check
 
57
        run: make --quiet check
 
58
 
 
59
      - name: Distcheck
 
60
        run: make --quiet distcheck
 
61