GitHub CI: add macOS build

This commit is contained in:
Christian Göttsche 2020-12-04 17:35:41 +01:00 committed by cgzones
parent 30bf212185
commit dcf7ad386c
1 changed files with 17 additions and 0 deletions

View File

@ -102,6 +102,23 @@ jobs:
- name: Build
run: scan-build-11 -analyze-headers --status-bugs make -j"$(nproc)"
build-macos-latest-clang:
runs-on: macOS-latest
env:
CC: clang
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: brew install automake
- name: Bootstrap
run: ./autogen.sh
- name: Configure
run: ./configure --enable-werror
- name: Build
run: make -k
- name: Distcheck
run: make distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-werror"
whitespace_check:
runs-on: ubuntu-latest
steps: