Skip to content

Commit f528151

Browse files
committed
improve bazel github ci
1 parent fb0e5bd commit f528151

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ubuntu-bazel.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Ubuntu 22.04 Bazel
1+
name: Bazel
22

33
on:
44
pull_request:
@@ -21,15 +21,17 @@ concurrency:
2121
cancel-in-progress: true
2222

2323
jobs:
24-
ubuntu-bazel:
25-
runs-on: ubuntu-22.04
24+
bazel:
2625
strategy:
26+
fail-fast: false
2727
matrix:
28+
runs-on: [ubuntu-22.04, macos-latest]
2829
shared: [ON, OFF]
2930
cxx: [g++-12, clang++-14]
31+
runs-on: ${{matrix.runs-on}}
3032
steps:
3133
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32-
- uses: bazelbuild/setup-bazelisk@v3
34+
- uses: bazelbuild/setup-bazelisk@b39c379c82683a5f25d34f0d062761f62693e0b2 # v3.0.0
3335
- name: Build & Test
3436
run: bazel test //...
3537
env:

0 commit comments

Comments
 (0)