name: macos

on: [push, pull_request]

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [ macos-13, macos-14, macos-15 ]
        cc: [ clang ]
    steps:
    - uses: actions/checkout@v4
    - name: dependencies
      run: brew install check cmake help2man libfido2 mandoc libtool automake
    - name: build
      env:
        CC: ${{ matrix.cc }}
      run: ./build-aux/ci/build-osx.sh
