This repository was archived by the owner on Dec 9, 2025. It is now read-only.
hikinggrass is building with bazel #198
Workflow file for this run
This file contains hidden or 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: Bazel Build | |
| run-name: ${{ github.actor }} is building with bazel | |
| on: | |
| pull_request: {} | |
| workflow_dispatch: | |
| inputs: | |
| runner: | |
| description: Which runner to use | |
| type: choice | |
| default: 'ubuntu-22.04' | |
| required: true | |
| options: | |
| - 'ubuntu-22.04' | |
| - 'large-ubuntu-22.04-xxl' | |
| jobs: | |
| bazel-build: | |
| runs-on: ${{ inputs.runner || 'ubuntu-22.04' }} | |
| steps: | |
| - run: echo branch name is ${{ github.ref }} | |
| - name: Checkout | |
| uses: actions/checkout@v4.1.0 | |
| - name: Mount bazel cache | |
| uses: actions/cache@v3 | |
| with: | |
| path: "~/.cache/bazel" | |
| key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE.bazel', 'third-party/bazel/*') }} | |
| - name: Build all | |
| run: > | |
| bazelisk build //... | |
| - name: Test all | |
| run: > | |
| bazelisk test //... |