From b98ecd5d4d1fe074a35741e4b83900f265eb5cdd Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Tue, 11 Apr 2023 20:35:36 +0200 Subject: [PATCH] Add macOS to CI builds (#88) --- .github/workflows/build.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c2c7718..0a980ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,12 +1,18 @@ -name: Build and test (single linux distro) +name: Build and test (latest Ubuntu/macOS) on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v3 + - name: install macOS autogen prerequisites + run: brew install autoconf automake libtool + if: runner.os == 'macOS' - name: bootstrap run: ./bootstrap - name: configure @@ -17,4 +23,5 @@ jobs: run: make check - name: make distcheck run: make distcheck + if: runner.os == 'Linux'