Skip to content

Commit 6225f7c

Browse files
committed
Re-test enabling linux arm64 testing
1 parent 61d5b3c commit 6225f7c

File tree

2 files changed

+203
-1
lines changed

2 files changed

+203
-1
lines changed

.bazelci/presubmit.yml

Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,57 @@ tasks:
5151
- "//examples/routeguide:scala_js"
5252
- "//examples/routeguide:scala_python"
5353

54+
main_ubuntu2004_arm64:
55+
name: Build & Test All
56+
platform: ubuntu2004_arm64
57+
test_flags:
58+
- "--test_output=errors"
59+
- "--cxxopt=-std=c++17"
60+
- "--host_cxxopt=-std=c++17"
61+
test_targets:
62+
- "//examples/routeguide:cpp_cpp"
63+
- "//examples/routeguide:cpp_csharp"
64+
- "//examples/routeguide:cpp_go"
65+
- "//examples/routeguide:cpp_java"
66+
- "//examples/routeguide:cpp_js"
67+
- "//examples/routeguide:cpp_python"
68+
- "//examples/routeguide:csharp_cpp"
69+
- "//examples/routeguide:csharp_csharp"
70+
- "//examples/routeguide:csharp_go"
71+
- "//examples/routeguide:csharp_java"
72+
- "//examples/routeguide:csharp_js"
73+
- "//examples/routeguide:csharp_python"
74+
- "//examples/routeguide:go_cpp"
75+
- "//examples/routeguide:go_csharp"
76+
- "//examples/routeguide:go_go"
77+
- "//examples/routeguide:go_java"
78+
- "//examples/routeguide:go_js"
79+
- "//examples/routeguide:go_python"
80+
- "//examples/routeguide:java_cpp"
81+
- "//examples/routeguide:java_csharp"
82+
- "//examples/routeguide:java_go"
83+
- "//examples/routeguide:java_java"
84+
- "//examples/routeguide:java_js"
85+
- "//examples/routeguide:java_python"
86+
- "//examples/routeguide:js_cpp"
87+
- "//examples/routeguide:js_csharp"
88+
- "//examples/routeguide:js_go"
89+
- "//examples/routeguide:js_java"
90+
- "//examples/routeguide:js_js"
91+
- "//examples/routeguide:js_python"
92+
- "//examples/routeguide:python_cpp"
93+
- "//examples/routeguide:python_csharp"
94+
- "//examples/routeguide:python_go"
95+
- "//examples/routeguide:python_java"
96+
- "//examples/routeguide:python_js"
97+
- "//examples/routeguide:python_python"
98+
- "//examples/routeguide:scala_cpp"
99+
- "//examples/routeguide:scala_csharp"
100+
- "//examples/routeguide:scala_go"
101+
- "//examples/routeguide:scala_java"
102+
- "//examples/routeguide:scala_js"
103+
- "//examples/routeguide:scala_python"
104+
54105
main_macos:
55106
name: Build & Test All
56107
platform: macos
@@ -141,6 +192,16 @@ tasks:
141192
- make buf_buf_proto_breaking_test_example
142193
- make buf_buf_proto_lint_test_example
143194

195+
buf_ubuntu2004_arm64_examples:
196+
name: Buf
197+
platform: ubuntu2004_arm64
198+
environment:
199+
BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17"
200+
shell_commands:
201+
- set -x
202+
- make buf_buf_proto_breaking_test_example
203+
- make buf_buf_proto_lint_test_example
204+
144205
buf_macos_examples:
145206
name: Buf
146207
platform: macos
@@ -173,6 +234,18 @@ tasks:
173234
- make cpp_cpp_proto_library_example
174235
- make cpp_cpp_grpc_library_example
175236

237+
cpp_ubuntu2004_arm64_examples:
238+
name: C++
239+
platform: ubuntu2004_arm64
240+
environment:
241+
BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17"
242+
shell_commands:
243+
- set -x
244+
- make cpp_cpp_proto_compile_example
245+
- make cpp_cpp_grpc_compile_example
246+
- make cpp_cpp_proto_library_example
247+
- make cpp_cpp_grpc_library_example
248+
176249
cpp_macos_examples:
177250
name: C++
178251
platform: macos
@@ -209,6 +282,18 @@ tasks:
209282
- make csharp_csharp_proto_library_example
210283
- make csharp_csharp_grpc_library_example
211284

285+
csharp_ubuntu2004_arm64_examples:
286+
name: C#
287+
platform: ubuntu2004_arm64
288+
environment:
289+
BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17"
290+
shell_commands:
291+
- set -x
292+
- make csharp_csharp_proto_compile_example
293+
- make csharp_csharp_grpc_compile_example
294+
- make csharp_csharp_proto_library_example
295+
- make csharp_csharp_grpc_library_example
296+
212297
csharp_macos_examples:
213298
name: C#
214299
platform: macos
@@ -246,6 +331,19 @@ tasks:
246331
- make doc_doc_markdown_compile_example
247332
- make doc_doc_template_compile_example
248333

334+
doc_ubuntu2004_arm64_examples:
335+
name: Documentation
336+
platform: ubuntu2004_arm64
337+
environment:
338+
BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17"
339+
shell_commands:
340+
- set -x
341+
- make doc_doc_docbook_compile_example
342+
- make doc_doc_html_compile_example
343+
- make doc_doc_json_compile_example
344+
- make doc_doc_markdown_compile_example
345+
- make doc_doc_template_compile_example
346+
249347
doc_macos_examples:
250348
name: Documentation
251349
platform: macos
@@ -284,6 +382,18 @@ tasks:
284382
- make go_go_proto_library_example
285383
- make go_go_grpc_library_example
286384

385+
go_ubuntu2004_arm64_examples:
386+
name: Go
387+
platform: ubuntu2004_arm64
388+
environment:
389+
BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17"
390+
shell_commands:
391+
- set -x
392+
- make go_go_proto_compile_example
393+
- make go_go_grpc_compile_example
394+
- make go_go_proto_library_example
395+
- make go_go_grpc_library_example
396+
287397
go_macos_examples:
288398
name: Go
289399
platform: macos
@@ -320,6 +430,18 @@ tasks:
320430
- make grpc_gateway_gateway_openapiv2_combined_compile_example
321431
- make grpc_gateway_gateway_grpc_library_example
322432

433+
grpc_gateway_ubuntu2004_arm64_examples:
434+
name: gRPC-Gateway
435+
platform: ubuntu2004_arm64
436+
environment:
437+
BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17"
438+
shell_commands:
439+
- set -x
440+
- make grpc_gateway_gateway_grpc_compile_example
441+
- make grpc_gateway_gateway_openapiv2_compile_example
442+
- make grpc_gateway_gateway_openapiv2_combined_compile_example
443+
- make grpc_gateway_gateway_grpc_library_example
444+
323445
grpc_gateway_macos_examples:
324446
name: gRPC-Gateway
325447
platform: macos
@@ -356,6 +478,18 @@ tasks:
356478
- make java_java_proto_library_example
357479
- make java_java_grpc_library_example
358480

481+
java_ubuntu2004_arm64_examples:
482+
name: Java
483+
platform: ubuntu2004_arm64
484+
environment:
485+
BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17"
486+
shell_commands:
487+
- set -x
488+
- make java_java_proto_compile_example
489+
- make java_java_grpc_compile_example
490+
- make java_java_proto_library_example
491+
- make java_java_grpc_library_example
492+
359493
java_macos_examples:
360494
name: Java
361495
platform: macos
@@ -392,6 +526,20 @@ tasks:
392526
- make js_js_grpc_library_example
393527
- make js_js_grpc_web_library_example
394528

529+
js_ubuntu2004_arm64_examples:
530+
name: JavaScript
531+
platform: ubuntu2004_arm64
532+
environment:
533+
BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17"
534+
shell_commands:
535+
- set -x
536+
- make js_js_proto_compile_example
537+
- make js_js_grpc_compile_example
538+
- make js_js_grpc_web_compile_example
539+
- make js_js_proto_library_example
540+
- make js_js_grpc_library_example
541+
- make js_js_grpc_web_library_example
542+
395543
js_macos_examples:
396544
name: JavaScript
397545
platform: macos
@@ -420,6 +568,20 @@ tasks:
420568
- make python_python_grpc_library_example
421569
- make python_python_grpclib_library_example
422570

571+
python_ubuntu2004_arm64_examples:
572+
name: Python
573+
platform: ubuntu2004_arm64
574+
environment:
575+
BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17"
576+
shell_commands:
577+
- set -x
578+
- make python_python_proto_compile_example
579+
- make python_python_grpc_compile_example
580+
- make python_python_grpclib_compile_example
581+
- make python_python_proto_library_example
582+
- make python_python_grpc_library_example
583+
- make python_python_grpclib_library_example
584+
423585
python_macos_examples:
424586
name: Python
425587
platform: macos
@@ -460,6 +622,18 @@ tasks:
460622
- make scala_scala_proto_library_example
461623
- make scala_scala_grpc_library_example
462624

625+
scala_ubuntu2004_arm64_examples:
626+
name: Scala
627+
platform: ubuntu2004_arm64
628+
environment:
629+
BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17"
630+
shell_commands:
631+
- set -x
632+
- make scala_scala_proto_compile_example
633+
- make scala_scala_grpc_compile_example
634+
- make scala_scala_proto_library_example
635+
- make scala_scala_grpc_library_example
636+
463637
scala_macos_examples:
464638
name: Scala
465639
platform: macos
@@ -538,6 +712,34 @@ tasks:
538712
- make test_workspace_shared_proto
539713
- make test_workspace_special_characters
540714

715+
ubuntu2004_arm64_test_workspaces:
716+
name: Test Workspaces
717+
platform: ubuntu2004_arm64
718+
environment:
719+
BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17"
720+
shell_commands:
721+
- set -x
722+
- make test_workspace_absolute_strip_import_prefix
723+
- make test_workspace_combined_strip_and_add_prefix
724+
- make test_workspace_common_cpp_library
725+
- make test_workspace_empty_output_directory
726+
- make test_workspace_exclusions
727+
- make test_workspace_generated_proto
728+
- make test_workspace_go_fixer
729+
- make test_workspace_go_importpath
730+
- make test_workspace_import_prefix
731+
- make test_workspace_java_deps
732+
- make test_workspace_nested_output_directory
733+
- make test_workspace_objc_capitalisation
734+
- make test_workspace_prefix_path
735+
- make test_workspace_python3_grpc
736+
- make test_workspace_python_dashes
737+
- make test_workspace_python_deps
738+
- make test_workspace_python_dots
739+
- make test_workspace_relative_strip_import_prefix
740+
- make test_workspace_shared_proto
741+
- make test_workspace_special_characters
742+
541743
macos_arm64_test_workspaces:
542744
name: Test Workspaces
543745
platform: macos_arm64

tools/rulegen/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
var ciPlatforms = []string{
1717
"ubuntu2204",
18-
// "ubuntu2004_arm64", // Absl fails to build due to processor selection
18+
"ubuntu2004_arm64",
1919
// "windows", // Blocked by https://github.com/bazelbuild/bazel/issues/18683
2020
// "windows_arm64", // Blocked by https://github.com/bazelbuild/bazel/issues/18683
2121
"macos",

0 commit comments

Comments
 (0)