diff options
Diffstat (limited to '.github/workflows/amd64_macos_bazel.yml')
-rw-r--r-- | .github/workflows/amd64_macos_bazel.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/amd64_macos_bazel.yml b/.github/workflows/amd64_macos_bazel.yml new file mode 100644 index 0000000..fd1bc5a --- /dev/null +++ b/.github/workflows/amd64_macos_bazel.yml @@ -0,0 +1,35 @@ +name: amd64 MacOS Bazel + +on: + push: + pull_request: + schedule: + # min hours day(month) month day(week) + - cron: '0 0 7,22 * *' + +jobs: + # Building using the github runner environement directly. + bazel: + runs-on: macos-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - name: Install Bazel + run: | + brew update + brew unlink bazelisk + brew install bazel + - name: Check Bazel + run: bazel version + - name: Build + run: > + bazel build + -c opt + --subcommands=true + ... + - name: Test + run: > + bazel test + -c opt + --test_output=errors + ... |