17 lines
569 B
YAML
17 lines
569 B
YAML
on: [push]
|
|
jobs:
|
|
setup:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v4
|
|
- name: install bazel
|
|
run: wget -O bazel https://github.com/bazelbuild/bazelisk/releases/download/v1.25.0/bazelisk-linux-amd64 && chmod +x bazel && mv bazel /home/ubuntu/bin/
|
|
- name: bazel cache
|
|
id: bazel-cache
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: ~/.ce/.bazel_cache
|
|
key: bazel-cache-${{ runner.os }}-${{ hashFiles('WORKSPACE') }}
|
|
- name: test
|
|
run: bash scripts/bb_test_all
|