From d7fd136ef397cc72b1855c158e7e03d92e8d7ec9 Mon Sep 17 00:00:00 2001 From: Stuart Axelbrooke Date: Sat, 3 May 2025 20:53:44 -0700 Subject: [PATCH] Add CI --- .forgejo/workflows/ci.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .forgejo/workflows/ci.yaml diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml new file mode 100644 index 0000000..b385fb0 --- /dev/null +++ b/.forgejo/workflows/ci.yaml @@ -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