MacOS_CI #1382
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MacOS_CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
schedule: | |
- cron: '0 7 * * *' | |
env: | |
HOMEBREW_NO_AUTO_UPDATE: "1" | |
jobs: | |
big_sur_build_and_test: | |
runs-on: macos-11 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: remove-bazelisk | |
run: if [[ -e /usr/local/bin/bazelisk ]]; then brew rm bazelisk; fi | |
- name: setup | |
run: | | |
rm -f '/usr/local/bin/2to3' | |
./setup/mac/install_prereqs.sh | |
- name: build and test | |
run: | | |
bazel test //... \ | |
-c dbg \ | |
--test_output=errors \ | |
--verbose_failures | |
monterey_build_and_test: | |
runs-on: macos-12 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: remove-bazelisk | |
run: if [[ -e /usr/local/bin/bazelisk ]]; then brew rm bazelisk; fi | |
- name: setup | |
run: | | |
rm -f '/usr/local/bin/2to3' | |
./setup/mac/install_prereqs.sh | |
- name: build and test | |
run: | | |
bazel test //... \ | |
-c dbg \ | |
--test_output=errors \ | |
--verbose_failures | |
ventura_build_and_test: | |
runs-on: macos-13 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: remove-bazelisk | |
run: if [[ -e /usr/local/bin/bazelisk ]]; then brew rm bazelisk; fi | |
- name: setup | |
run: | | |
rm -f '/usr/local/bin/2to3' | |
./setup/mac/install_prereqs.sh | |
- name: build and test | |
run: | | |
bazel test //... \ | |
-c dbg \ | |
--test_output=errors \ | |
--verbose_failures | |
big_sur_ubsan: | |
runs-on: macos-11 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: remove-bazelisk | |
run: if [[ -e /usr/local/bin/bazelisk ]]; then brew rm bazelisk; fi | |
- name: setup | |
run: | | |
rm -f '/usr/local/bin/2to3' | |
./setup/mac/install_prereqs.sh | |
- name: build and test | |
run: | | |
bazel test //... \ | |
-c dbg \ | |
--test_output=errors \ | |
--config ubsan \ | |
--test_tag_filters=-no_ubsan \ | |
--verbose_failures | |
big_sur_asan: | |
runs-on: macos-11 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: remove-bazelisk | |
run: if [[ -e /usr/local/bin/bazelisk ]]; then brew rm bazelisk; fi | |
- name: setup | |
run: | | |
rm -f '/usr/local/bin/2to3' | |
./setup/mac/install_prereqs.sh | |
- name: build and test | |
run: | | |
bazel test //... \ | |
-c dbg \ | |
--test_output=errors \ | |
--config asan \ | |
--test_tag_filters=-no_asan \ | |
--verbose_failures |