Skip to content

Commit ff3e330

Browse files
Rachel Goldfingercopybara-github
authored andcommitted
Remove Bazel test from upb macOS and macOS Intel tests.
PiperOrigin-RevId: 864878821
1 parent 95dc8a0 commit ff3e330

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

.github/workflows/test_bazel.yml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Run tests
7171
if: ${{ !matrix.continuous-only || inputs.continuous-run }}
7272
uses: protocolbuffers/protobuf-ci/bazel@v5
73-
with:
73+
with:ß
7474
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
7575
bazel-cache: examples-${{ matrix.bazelversion }}-${{ matrix.bzlmod }}-${{ matrix.toolchain_resolution }}
7676
version: ${{ matrix.bazelversion }}
@@ -89,10 +89,10 @@ jobs:
8989
cd examples/example_without_cc_toolchain;
9090
bazel build //... $BAZEL_FLAGS ${{ matrix.toolchain_resolution }};
9191
92-
bazel-tests:
92+
bazel-tests-ubuntu:
9393
strategy:
9494
fail-fast: false # Don't cancel all jobs if one fails.
95-
name: Bazel Tests
95+
name: Bazel Tests ubuntu
9696
runs-on: ubuntu-latest
9797
steps:
9898
- name: Checkout pending changes
@@ -106,3 +106,23 @@ jobs:
106106
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
107107
bazel-cache: "bazel-tests"
108108
bazel: test //bazel/...
109+
110+
bazel-tests-windows-macos:
111+
strategy:
112+
fail-fast: false # Don't cancel all jobs if one fails.
113+
matrix:
114+
runner: [ windows, macos ]
115+
name: Bazel Tests ${{ matrix.runner }}
116+
runs-on: ${{ matrix.runner }}-latest
117+
steps:
118+
- name: Checkout pending changes
119+
uses: protocolbuffers/protobuf-ci/checkout@v5
120+
with:
121+
ref: ${{ inputs.safe-checkout }}
122+
- name: Run tests
123+
uses: protocolbuffers/protobuf-ci/bazel@v5
124+
with:
125+
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
126+
bazel-cache: "bazel-tests-${{ matrix.runner }}"
127+
bazel: test //bazel/...
128+
version: 8.0.1

.github/workflows/test_upb.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
with:
103103
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
104104
bazel-cache: "upb-bazel-macos"
105-
bazel: ${{ matrix.config.bazel-command }} ${{ matrix.config.flags }} //bazel/... //benchmarks/... //lua/... //python/... //upb/... //upb_generator/...
105+
bazel: ${{ matrix.config.bazel-command }} ${{ matrix.config.flags }} //benchmarks/... //lua/... //python/... //upb/... //upb_generator/...
106106
version: 8.0.1
107107

108108
build_wheels:

0 commit comments

Comments
 (0)