2023-04-11 20:35:36 +02:00
|
|
|
name: Build and test (latest Ubuntu/macOS)
|
2019-12-17 11:03:31 +01:00
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-04-11 20:35:36 +02:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, macos-latest]
|
2019-12-17 11:03:31 +01:00
|
|
|
steps:
|
2022-11-05 00:01:30 +01:00
|
|
|
- uses: actions/checkout@v3
|
2023-04-11 20:35:36 +02:00
|
|
|
- name: install macOS autogen prerequisites
|
|
|
|
run: brew install autoconf automake libtool
|
|
|
|
if: runner.os == 'macOS'
|
2019-12-17 11:03:31 +01:00
|
|
|
- name: bootstrap
|
|
|
|
run: ./bootstrap
|
|
|
|
- name: configure
|
|
|
|
run: ./configure
|
|
|
|
- name: make
|
|
|
|
run: make
|
|
|
|
- name: make check
|
|
|
|
run: make check
|
|
|
|
- name: make distcheck
|
|
|
|
run: make distcheck
|
2023-04-11 20:35:36 +02:00
|
|
|
if: runner.os == 'Linux'
|
2019-12-17 11:03:31 +01:00
|
|
|
|