Skip to content

Commit 07209cd

Browse files
Fixes for BCR issues with windows (#307)
* Fixes for BCR issues with windows We need a config and additional flags for this situation * more updates
1 parent 734de36 commit 07209cd

File tree

3 files changed

+38
-12
lines changed

3 files changed

+38
-12
lines changed

.bcr/presubmit.yml

Lines changed: 36 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,46 @@
11
matrix:
2-
platform:
3-
- debian10
4-
- ubuntu2004
5-
- macos
6-
- macos_arm64
7-
- windows
82
bazel:
93
- 7.x
104
- 8.x
115
tasks:
12-
verify_targets:
13-
name: Verify build targets
14-
platform: ${{ platform }}
6+
verify_targets_debian10:
7+
name: Verify build targets (Debian 10)
8+
platform: debian10
159
bazel: ${{ bazel }}
1610
build_targets:
1711
- '@bazel-diff//:bazel-diff'
12+
verify_targets_ubuntu2004:
13+
name: Verify build targets (Ubuntu 20.04)
14+
platform: ubuntu2004
15+
bazel: ${{ bazel }}
16+
build_targets:
17+
- '@bazel-diff//:bazel-diff'
18+
verify_targets_macos:
19+
name: Verify build targets (macOS)
20+
platform: macos
21+
bazel: ${{ bazel }}
22+
build_targets:
23+
- '@bazel-diff//:bazel-diff'
24+
verify_targets_macos_arm64:
25+
name: Verify build targets (macOS ARM64)
26+
platform: macos_arm64
27+
bazel: ${{ bazel }}
28+
build_targets:
29+
- '@bazel-diff//:bazel-diff'
30+
verify_targets_windows_7x:
31+
name: Verify build targets (Windows, Bazel 7.x)
32+
platform: windows
33+
bazel: "7.x"
34+
build_targets:
35+
- '@bazel-diff//:bazel-diff'
36+
verify_targets_windows_8x:
37+
name: Verify build targets (Windows, Bazel 8.x)
38+
platform: windows
39+
bazel: "8.x"
40+
build_flags:
41+
- '--legacy_external_runfiles'
42+
build_targets:
43+
- '@bazel-diff//:bazel-diff'
1844
bcr_test_module:
1945
module_path: ""
2046
matrix:
@@ -30,4 +56,4 @@ bcr_test_module:
3056
platform: ${{ platform }}
3157
bazel: ${{ bazel }}
3258
test_targets:
33-
- '//cli/...'
59+
- '//cli/...'

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module(
22
name = "bazel-diff",
3-
version = "14.0.0",
3+
version = "14.0.1",
44
compatibility_level = 0,
55
)
66

MODULE.bazel.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)