Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MacOS platform compatibility check CI #757

Merged
merged 2 commits into from
Apr 14, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/macos-compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment on what version OS this happens to be? other known versions of OS X Developer Tools?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version is unknown. Whatever github choses to be 'latest'.
Given that this is just meant as a litmus test, we actually don't really want to know, we just want to make sure that whatever typical latest macos there is, it will compile.

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 ...