Merge branch 'v1.2.y-tip' into v1.2.y #115
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
######################################################################### | |
# # | |
# File ID: ./.github/workflows/build-test.yml # | |
# Author: Copyright (C) 2021-2023 Mark Grant # | |
# # | |
# Released under the GPLv3 only. # | |
# SPDX-License-Identifier: GPL-3.0-only # | |
# # | |
# 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. # | |
# 11/11/2021 MG 1.0.2 Get tags as needed for git-enhanced # | |
# AC_INIT. # | |
# 22/11/2021 MG 1.0.3 Tighten SPDX tag. # | |
# 14/10/2022 MG 1.0.4 Run on focal 20.04 # | |
# 29/03/2023 MG 1.0.5 Run on ubuntu-latest. # | |
# 11/08/2023 MG 1.0.6 Run on focal. # | |
# Remove txt2man, rely on txt2manwrap # | |
# dependencies. # | |
# # | |
######################################################################### | |
name: Build Test | |
on: | |
push: | |
# Allows manual invocation from the Actions tab. | |
workflow_dispatch: | |
jobs: | |
build-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
# Check-out the repository under $GITHUB_WORKSPACE. | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # Get all incl tags, needed for git-enhanced AC_INIT | |
- 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 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 | |