mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 22:55:41 +00:00
* Decouple non-Mac builds from Xcode via BAZEL_NO_APPLE_CPP_TOOLCHAIN Set BAZEL_NO_APPLE_CPP_TOOLCHAIN=1 in .bazelrc so apple_support skips Xcode detection (xcode-locator) entirely for Scala/C++/Go builds. Only mactools builds (Mac/Sparkle) re-enable the Apple CC toolchain. This means Xcode version changes no longer affect Eagle, Shardok, test, auth, docker, or Unity Windows builds — no expunge, no cache invalidation, no rebuild. The sync script and its expunge/cache-key logic are now scoped to mactools only and removed from all non-Mac CI workflows. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Revert BAZEL_NO_APPLE_CPP_TOOLCHAIN; keep Apple CC with stable environ BAZEL_NO_APPLE_CPP_TOOLCHAIN=1 broke builds because apple_support registers platforms (e.g. macos_x86_64) that require Apple CC toolchains for resolution — even in non-Mac builds. Instead, keep Apple CC enabled but ensure its repo rule never re-evaluates on non-Mac builds by keeping DEVELOPER_DIR pinned in common:macos. The sync script only runs for mactools builds and overrides DEVELOPER_DIR there. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
791 B
YAML
34 lines
791 B
YAML
name: Eagle Build
|
|
|
|
on:
|
|
# Main pushes are covered by docker_build.yml which builds the same target
|
|
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'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
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
|