# Platform specific MacOS test. See verible-ci for main continuous integration.
name: macos-compile

on:
  push:
    branches:
    - master
    - main
  pull_request:
    branches:
    - master
    - main

jobs:
  MacOsBuild:
    runs-on: macos-latest
    steps:
    - name: Install deps
      run: |
        brew install flex bison
    - name: Checkout code
      uses: actions/checkout@v2
      with:
        fetch-depth: 0
    - name: Build
      run: |
        export PATH=$(brew --prefix flex)/bin:$PATH
        export PATH=$(brew --prefix bison)/bin:$PATH
        bazel test --cxxopt=-Wno-range-loop-analysis ...

Add MacOS platform compatibility check CI
Add MacOS platform compatibility check CI

Issues: #260

Signed-off-by: Henner Zeller <259ad50fabbfd39355f36ecd6c0afca541ea66ef@acm.org>
