File tree 3 files changed +15
-27
lines changed
3 files changed +15
-27
lines changed Original file line number Diff line number Diff line change @@ -6,59 +6,43 @@ matrix:
6
6
- ubuntu2004
7
7
- macos
8
8
- windows
9
+ bazel :
10
+ - 6.5.0
11
+ - 7.3.2
9
12
10
13
tasks :
11
14
test_module_bzlmod :
12
- name : " Test module (Bazel 7.3.2, Bzlmod)"
15
+ name : " Test module (Bzlmod)"
13
16
working_directory : " tests/bcr"
14
- bazel : 7.3.2
17
+ bazel : ${{ bazel }}
15
18
platform : ${{ platform }}
16
19
build_flags :
17
20
- " --enable_bzlmod"
18
- - " --noenable_workspace"
19
21
build_targets :
20
22
- " //..."
21
23
test_flags :
22
24
- " --enable_bzlmod"
23
- - " --noenable_workspace"
24
25
test_targets :
25
26
- " //..."
26
27
test_module_workspace :
27
- name : " Test module (Bazel 7.3.2, WORKSPACE)"
28
+ name : " Test module (WORKSPACE)"
28
29
working_directory : " tests/bcr"
29
- bazel : 7.3.2
30
+ bazel : ${{ bazel }}
30
31
platform : ${{ platform }}
31
32
build_flags :
32
- - " --noenable_bzlmod"
33
- - " --enable_workspace"
33
+ - " --enable_bzlmod"
34
34
build_targets :
35
35
- " //..."
36
36
test_flags :
37
- - " --noenable_bzlmod"
38
- - " --enable_workspace"
39
- test_targets :
40
- - " //..."
41
- test_module_workspace_bazel6 :
42
- name : " Test module (Bazel 6.5.0, WORKSPACE)"
43
- working_directory : " tests/bcr"
44
- bazel : 6.5.0
45
- platform : ${{ platform }}
46
- build_targets :
47
- - " //..."
37
+ - " --enable_bzlmod"
48
38
test_targets :
49
39
- " //..."
50
40
test_module_head :
51
41
name : " Test module (Bazel@HEAD, Bzlmod)"
52
42
working_directory : " tests/bcr"
53
43
bazel : last_green
54
44
platform : ${{ platform }}
55
- build_flags :
56
- - " --enable_bzlmod"
57
- - " --noenable_workspace"
58
45
build_targets :
59
46
- " //..."
60
- test_flags :
61
- - " --enable_bzlmod"
62
- - " --noenable_workspace"
63
47
test_targets :
64
48
- " //..."
Original file line number Diff line number Diff line change 3
3
version = "0.0.0" ,
4
4
)
5
5
6
- bazel_dep (name = "platforms " , version = "0.0.10 " )
6
+ bazel_dep (name = "bazel_features " , version = "1.18.0 " )
7
7
bazel_dep (name = "bazel_skylib" , version = "1.6.1" )
8
+ bazel_dep (name = "platforms" , version = "0.0.10" )
8
9
9
10
sh_configure = use_extension ("//shell/private/extensions:sh_configure.bzl" , "sh_configure" )
10
11
use_repo (sh_configure , "local_config_shell" )
Original file line number Diff line number Diff line change 14
14
15
15
"""The sh_configure module extension."""
16
16
17
+ load ("@bazel_features//:features.bzl" , "bazel_features" )
17
18
load ("//shell/private/repositories:sh_config.bzl" , "sh_config" )
18
19
19
20
def _sh_configure_impl (module_ctx ):
20
21
sh_config (name = "local_config_shell" )
21
- return module_ctx .extension_metadata (reproducible = True )
22
+ if bazel_features .external_deps .extension_metadata_has_reproducible :
23
+ return module_ctx .extension_metadata (reproducible = True )
24
+ return None
22
25
23
26
sh_configure = module_extension (implementation = _sh_configure_impl )
You can’t perform that action at this time.
0 commit comments