mirror of
https://boringssl.googlesource.com/boringssl
synced 2026-07-21 14:43:51 +00:00
50794a1245
From https://github.com/bazelbuild/bazel-central-registry/pull/6477 (Thanks @jwnimmer-tri) Change-Id: Ib2a38095602405574172f5e32539fda34ef15208 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/83927 Auto-Submit: Lily Chen <chlily@google.com> Commit-Queue: David Benjamin <davidben@google.com> Commit-Queue: Lily Chen <chlily@google.com> Reviewed-by: David Benjamin <davidben@google.com>
62 lines
1.6 KiB
YAML
62 lines
1.6 KiB
YAML
build_targets: &build_targets
|
|
- "@boringssl//:crypto"
|
|
- "@boringssl//:ssl"
|
|
|
|
matrix: &matrix
|
|
linux_platforms:
|
|
- debian11
|
|
- ubuntu2204
|
|
bazel: [7.x, 8.x, rolling]
|
|
tasks:
|
|
verify_targets_on_linux:
|
|
name: Verify build targets on Linux
|
|
platform: ${{ linux_platforms }}
|
|
bazel: ${{ bazel }}
|
|
build_targets: *build_targets
|
|
build_flags:
|
|
- '--cxxopt=-std=c++17'
|
|
verify_targets_on_windows:
|
|
name: Verify build targets on Windows
|
|
platform: windows
|
|
bazel: ${{ bazel }}
|
|
build_targets: *build_targets
|
|
build_flags:
|
|
- '--cxxopt=/std:c++17'
|
|
# Work around https://github.com/bazelbuild/bazel/issues/10472
|
|
verify_targets_on_macos:
|
|
name: Verify build targets on macOS
|
|
platform: macos
|
|
bazel: ${{ bazel }}
|
|
build_targets: *build_targets
|
|
build_flags: &macos_workaround
|
|
- '--cxxopt=-std=c++17'
|
|
- '--sandbox_block_path=/usr/local'
|
|
bcr_test_module:
|
|
module_path: util/bazel-example
|
|
matrix: *matrix
|
|
tasks:
|
|
run_test_module_on_linux:
|
|
name: Run test module on Linux
|
|
platform: ${{ linux_platforms }}
|
|
bazel: ${{ bazel }}
|
|
build_targets:
|
|
- //...
|
|
build_flags:
|
|
- '--cxxopt=-std=c++17'
|
|
run_test_module_on_windows:
|
|
name: Run test module on Windows
|
|
platform: windows
|
|
bazel: ${{ bazel }}
|
|
build_targets:
|
|
- //...
|
|
build_flags:
|
|
- '--cxxopt=/std:c++17'
|
|
# Work around https://github.com/bazelbuild/bazel/issues/10472
|
|
run_test_module_on_macos:
|
|
name: Run test module on macOS
|
|
platform: macos
|
|
bazel: ${{ bazel }}
|
|
build_targets:
|
|
- //...
|
|
build_flags: *macos_workaround
|