|
1 |
| -matrix: |
2 |
| - # Removing ubuntu just for this release candidate |
3 |
| - platform: ["debian10", "macos"] |
4 |
| - bazel: [7.x, 8.x] |
5 |
| - |
6 |
| -tasks: |
7 |
| - verify_targets: |
8 |
| - name: "Verify build targets" |
9 |
| - platform: ${{ platform }} |
10 |
| - bazel: ${{ bazel }} |
11 |
| - build_flags: |
12 |
| - - '--host_cxxopt=-std=c++17' |
13 |
| - - '--cxxopt=-std=c++17' |
14 |
| - build_targets: |
15 |
| - - '@protobuf//:protobuf' |
16 |
| - - '@protobuf//:protobuf_lite' |
17 |
| - - '@protobuf//:protobuf_python' |
18 |
| - - '@protobuf//:protobuf_java' |
19 |
| - - '@protobuf//:protoc' |
20 |
| - - '@protobuf//:test_messages_proto2_cc_proto' |
21 |
| - - '@protobuf//:test_messages_proto3_cc_proto' |
22 |
| - # Separating windows for different c++ build flags. |
23 |
| - verify_targets_windows: |
24 |
| - name: "Verify windows build targets" |
25 |
| - platform: windows |
26 |
| - bazel: ${{ bazel }} |
27 |
| - build_flags: |
28 |
| - - '--cxxopt=/std:c++17' |
29 |
| - - '--host_cxxopt=/std:c++17' |
30 |
| - - '--extra_execution_platforms=@protobuf//build_defs:x64_windows-clang-cl' |
31 |
| - - '--host_platform=@protobuf//build_defs:x64_windows-clang-cl' |
32 |
| - - '--extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl' |
33 |
| - build_targets: |
34 |
| - - '@protobuf//:protobuf' |
35 |
| - - '@protobuf//:protobuf_lite' |
36 |
| - - '@protobuf//:protobuf_python' |
37 |
| - - '@protobuf//:protobuf_java' |
38 |
| - - '@protobuf//:protoc' |
39 |
| - - '@protobuf//:test_messages_proto2_cc_proto' |
40 |
| - - '@protobuf//:test_messages_proto3_cc_proto' |
41 |
| - |
42 | 1 | bcr_test_module:
|
43 |
| - module_path: "examples" |
| 2 | + module_path: examples |
44 | 3 | matrix:
|
45 | 4 | # Removing ubuntu just for this release candidate
|
46 | 5 | platform: ["debian10", "macos"]
|
47 | 6 | bazel: [7.x, 8.x]
|
| 7 | + |
48 | 8 | tasks:
|
49 |
| - run_test_module: |
50 |
| - name: "Run test module" |
| 9 | + verify_targets: |
| 10 | + name: "Verify build targets" |
51 | 11 | platform: ${{ platform }}
|
52 | 12 | bazel: ${{ bazel }}
|
53 | 13 | build_flags:
|
54 | 14 | - '--host_cxxopt=-std=c++17'
|
55 |
| - - '--cxxopt=-std=c++17' |
| 15 | + - '--cxxopt=-std=c++17' |
56 | 16 | build_targets:
|
57 |
| - - "//..." |
58 |
| - run_test_module_windows: |
59 |
| - name: "Run windows test module" |
| 17 | + - '@protobuf//:protobuf' |
| 18 | + - '@protobuf//:protobuf_lite' |
| 19 | + - '@protobuf//:protobuf_python' |
| 20 | + - '@protobuf//:protobuf_java' |
| 21 | + - '@protobuf//:protoc' |
| 22 | + - '@protobuf//:test_messages_proto2_cc_proto' |
| 23 | + - '@protobuf//:test_messages_proto3_cc_proto' |
| 24 | + # Separating windows for different c++ build flags. |
| 25 | + verify_targets_windows: |
| 26 | + name: "Verify windows build targets" |
60 | 27 | platform: windows
|
61 | 28 | bazel: ${{ bazel }}
|
62 | 29 | build_flags:
|
63 | 30 | - '--cxxopt=/std:c++17'
|
64 | 31 | - '--host_cxxopt=/std:c++17'
|
| 32 | + - '--extra_execution_platforms=@protobuf//build_defs:x64_windows-clang-cl' |
| 33 | + - '--host_platform=@protobuf//build_defs:x64_windows-clang-cl' |
| 34 | + - '--extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl' |
65 | 35 | build_targets:
|
66 |
| - - "//..." |
| 36 | + - '@protobuf//:protobuf' |
| 37 | + - '@protobuf//:protobuf_lite' |
| 38 | + - '@protobuf//:protobuf_python' |
| 39 | + - '@protobuf//:protobuf_java' |
| 40 | + - '@protobuf//:protoc' |
| 41 | + - '@protobuf//:test_messages_proto2_cc_proto' |
| 42 | + - '@protobuf//:test_messages_proto3_cc_proto' |
| 43 | + |
| 44 | + bcr_test_module: |
| 45 | + module_path: "examples" |
| 46 | + matrix: |
| 47 | + # Removing ubuntu just for this release candidate |
| 48 | + platform: ["debian10", "macos"] |
| 49 | + bazel: [7.x, 8.x] |
| 50 | + tasks: |
| 51 | + run_test_module: |
| 52 | + name: "Run test module" |
| 53 | + platform: ${{ platform }} |
| 54 | + bazel: ${{ bazel }} |
| 55 | + build_flags: |
| 56 | + - '--host_cxxopt=-std=c++17' |
| 57 | + - '--cxxopt=-std=c++17' |
| 58 | + build_targets: |
| 59 | + - "//..." |
| 60 | + run_test_module_windows: |
| 61 | + name: "Run windows test module" |
| 62 | + platform: windows |
| 63 | + bazel: ${{ bazel }} |
| 64 | + build_flags: |
| 65 | + - '--cxxopt=/std:c++17' |
| 66 | + - '--host_cxxopt=/std:c++17' |
| 67 | + build_targets: |
| 68 | + - "//..." |
0 commit comments