Add BCR publishing configuration for brotli and brotli_go modules

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
Matthieu MOREL
2025-11-23 08:41:07 +01:00
parent 5251c3cd79
commit eff4cbb0f1
2 changed files with 41 additions and 8 deletions

View File

@@ -7,7 +7,6 @@ matrix:
bazel:
- 8.x
- 7.x
- 6.x
tasks:
verify_targets:
name: Verify build targets
@@ -15,5 +14,19 @@ tasks:
bazel: ${{ bazel }}
build_targets:
- '@brotli_go//cbrotli'
build_flags:
- "--conlyopt=-Wno-error=conversion"
- "--conlyopt=-Wno-error=sign-conversion"
- "--copt=-Wno-error=conversion"
- "--copt=-Wno-error=sign-conversion"
- "--host_conlyopt=-Wno-error=conversion"
- "--host_copt=-Wno-error=conversion"
test_targets:
- '@brotli_go//cbrotli:cbrotli_test'
test_flags:
- "--conlyopt=-Wno-error=conversion"
- "--conlyopt=-Wno-error=sign-conversion"
- "--copt=-Wno-error=conversion"
- "--copt=-Wno-error=sign-conversion"
- "--host_conlyopt=-Wno-error=conversion"
- "--host_copt=-Wno-error=conversion"

View File

@@ -4,18 +4,38 @@ matrix:
- ubuntu2004
- macos
- macos_arm64
- windows
bazel:
- 8.x
- 7.x
- 6.x
- 8.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@brotli//:brotli'
- '@brotli//:brotlicommon'
- '@brotli//:brotlidec'
- '@brotli//:brotlienc'
- '@brotli//:brotli'
- '@brotli//:brotlicommon'
- '@brotli//:brotlidec'
- '@brotli//:brotlienc'
build_flags:
- "--cxxopt=-std=c++17"
- "--conlyopt=-Wno-error=conversion"
- "--conlyopt=-Wno-error=sign-conversion"
- "--copt=-Wno-error=conversion"
- "--copt=-Wno-error=sign-conversion"
- "--host_conlyopt=-Wno-error=conversion"
- "--host_copt=-Wno-error=conversion"
verify_targets_windows:
name: Verify build targets
platform: windows
bazel: ${{ bazel }}
build_flags:
- "--cxxopt=/std:c++17"
- "--cxxopt=/D_WIN32_WINNT=0x0602"
- "--cxxopt=/DWINVER=0x0602"
- "--host_cxxopt=/std:c++17"
build_targets:
- '@brotli//:brotli'
- '@brotli//:brotlicommon'
- '@brotli//:brotlidec'
- '@brotli//:brotlienc'