• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: amd64 MacOS Bazel
2
3on:
4  push:
5  pull_request:
6  schedule:
7    # min hours day(month) month day(week)
8    - cron: '0 0 7,22 * *'
9
10jobs:
11  # Building using the github runner environement directly.
12  bazel:
13    runs-on: macos-latest
14    steps:
15      - name: Check out repository code
16        uses: actions/checkout@v3
17      - name: Install Bazel
18        run: |
19          brew update
20          brew unlink bazelisk
21          brew install bazel
22      - name: Check Bazel
23        run: bazel version
24      - name: Build
25        run: >
26          bazel build
27          -c opt
28          --subcommands=true
29          ...
30      - name: Test
31        run: >
32          bazel test
33          -c opt
34          --test_output=errors
35          ...
36