Skip to content

Commit

Permalink
Internal change.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 344047412
  • Loading branch information
agutkin authored and copybara-github committed Nov 24, 2020
1 parent d6e567b commit 067c4fe
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/macos-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "macos"

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:

build-and-test-macos:
name: Build and Test (macOS)
runs-on: macos-latest
env:
BAZEL: bazelisk-darwin-amd64
steps:
- uses: actions/checkout@v2

- name: Mount bazel cache
uses: actions/cache@v2
with:
# See https://docs.bazel.build/versions/master/output_directories.html
path: "~/.cache/bazel"
key: ${{ runner.os }}-build

- name: Install bazelisk
run: |
curl -sLO "https://github.com/bazelbuild/bazelisk/releases/latest/download/$BAZEL"
chmod +x $BAZEL
- name: Build
run: ./$BAZEL build -c opt --host_copt=-DGRPC_BAZEL_BUILD //...

- name: Test
run: ./$BAZEL test -c opt --host_copt=-DGRPC_BAZEL_BUILD --test_output=errors //...
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![GitHub license](https://img.shields.io/badge/license-Apache2-blue.svg)](https://github.com/google-research/mozolm/blob/main/LICENSE)
[![Build Tests (Linux)](https://github.com/google-research/mozolm/workflows/linux/badge.svg)](https://github.com/google-research/mozolm/actions?query=workflow%3A%22linux%22)
[![Build Tests (macOS)](https://github.com/google-research/mozolm/workflows/macos/badge.svg)](https://github.com/google-research/mozolm/actions?query=workflow%3A%22macos%22)
[![Build Tests (Windows)](https://github.com/google-research/mozolm/workflows/windows/badge.svg)](https://github.com/google-research/mozolm/actions?query=workflow%3A%22windows%22)

# MozoLM
Expand Down

0 comments on commit 067c4fe

Please sign in to comment.