Skip to content

Commit

Permalink
[CLEANUP] simple BRE
Browse files Browse the repository at this point in the history
  • Loading branch information
hexdae committed Mar 28, 2024
1 parent 4a30abb commit f3a39ea
Show file tree
Hide file tree
Showing 10 changed files with 499 additions and 1,348 deletions.
4 changes: 1 addition & 3 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ build:remote --remote_instance_name=main
build:remote --remote_cache=grpc://127.0.0.1:50051
build:remote --remote_executor=grpc://127.0.0.1:50051
build:remote --remote_default_exec_properties=cpu_count=1

# Linux host (used for remote builds)
build:linux --extra_execution_platforms=//platforms/host:linux
build:remote --extra_execution_platforms=//bre:worker
2 changes: 1 addition & 1 deletion .github/workflows/bre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
cancel-in-progress: true

jobs:
linux:
remote-execution:
name: Bazel Remote Execution
runs-on: ubuntu-latest

Expand Down
23 changes: 3 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
- os: macos-14
env:
TARGET: "aarch64-apple-darwin"
- os: windows-latest
env:
TARGET: "x86_64-pc-windows"

env:
USE_BAZEL_VERSION: "7.x"
Expand All @@ -44,23 +47,3 @@ jobs:
working-directory: e2e/bzlmod
run: |
bazel test //...
e2e-windows:
name: ${{ matrix.env.TARGET }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: windows-latest
env:
TARGET: "x86_64-pc-windows"
env:
USE_BAZEL_VERSION: "7.x"

steps:
- uses: actions/checkout@v2

- name: build examples - windows
run: |
bazel --output_user_root=C:/bzl build //examples/...
9 changes: 0 additions & 9 deletions config/BUILD

This file was deleted.

5 changes: 4 additions & 1 deletion e2e/bzlmod/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
common --enable_platform_specific_config
windows:startup --output_user_root=C:/tmp

build --incompatible_enable_cc_toolchain_resolution
build --enable_bzlmod=true
build --enable_bzlmod=true
Loading

0 comments on commit f3a39ea

Please sign in to comment.