mirror of
https://github.com/bgp/bgpq4.git
synced 2024-05-11 05:55:05 +00:00
28 lines
610 B
YAML
28 lines
610 B
YAML
name: Build and test (latest Ubuntu/macOS)
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: install macOS autogen prerequisites
|
|
run: brew install autoconf automake libtool
|
|
if: runner.os == 'macOS'
|
|
- name: bootstrap
|
|
run: ./bootstrap
|
|
- name: configure
|
|
run: ./configure
|
|
- name: make
|
|
run: make
|
|
- name: make check
|
|
run: make check
|
|
- name: make distcheck
|
|
run: make distcheck
|
|
if: runner.os == 'Linux'
|
|
|