parent
b8af34b716
commit
d7fd136ef3
1 changed files with 17 additions and 0 deletions
17
.forgejo/workflows/ci.yaml
Normal file
17
.forgejo/workflows/ci.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
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
|
||||||
Loading…
Reference in a new issue