mirror of
https://github.com/bgp/bgpq4
synced 2025-02-28 08:53:11 +00:00
Add macOS to CI builds (#88)
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -1,12 +1,18 @@
|
|||||||
name: Build and test (single linux distro)
|
name: Build and test (latest Ubuntu/macOS)
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- name: install macOS autogen prerequisites
|
||||||
|
run: brew install autoconf automake libtool
|
||||||
|
if: runner.os == 'macOS'
|
||||||
- name: bootstrap
|
- name: bootstrap
|
||||||
run: ./bootstrap
|
run: ./bootstrap
|
||||||
- name: configure
|
- name: configure
|
||||||
@@ -17,4 +23,5 @@ jobs:
|
|||||||
run: make check
|
run: make check
|
||||||
- name: make distcheck
|
- name: make distcheck
|
||||||
run: make distcheck
|
run: make distcheck
|
||||||
|
if: runner.os == 'Linux'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user