mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
Add BCR publishing configuration for brotli and brotli_go modules
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -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"
|
||||
@@ -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'
|
||||
Reference in New Issue
Block a user