Overhaul autotools stuff across projects with reusable macros #282
Workflow file for this run
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
name: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Fetch tags | |
run: | | |
git fetch --prune --tags ||: | |
- name: Install build dependencies | |
run: | | |
sudo apt install -y ronn | |
- name: Install perl test dependencies | |
uses: perl-actions/install-with-cpanm@v1.4 | |
with: | |
install: | | |
Shell::Command | |
Test::Most | |
- name: Configure | |
run: | | |
./bootstrap.sh | |
./configure | |
- name: Run tests | |
run: | | |
make check | |
- name: Run full cycle packaging check | |
run: | | |
make distcheck |