mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 22:55:41 +00:00
40 lines
901 B
YAML
40 lines
901 B
YAML
name: Eagle Build
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
paths:
|
|
- 'src/main/scala/**'
|
|
- 'src/main/protobuf/net/eagle0/eagle/**'
|
|
- 'src/main/protobuf/net/eagle0/common/**'
|
|
- 'WORKSPACE'
|
|
- 'MODULE.bazel'
|
|
- 'BUILD.bazel'
|
|
- '.bazelrc'
|
|
- '.github/workflows/eagle_build.yml'
|
|
pull_request:
|
|
paths:
|
|
- 'src/main/scala/**'
|
|
- 'src/main/protobuf/net/eagle0/eagle/**'
|
|
- 'src/main/protobuf/net/eagle0/common/**'
|
|
- 'WORKSPACE'
|
|
- 'MODULE.bazel'
|
|
- 'BUILD.bazel'
|
|
- '.bazelrc'
|
|
- '.github/workflows/eagle_build.yml'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: [self-hosted, bazel]
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
lfs: false
|
|
- name: Build Eagle server
|
|
run: bazel build //src/main/scala/net/eagle0/eagle:eagle_server
|