| bcr_test_module: | |
| module_path: test | |
| matrix: | |
| unix_platform: | |
| - debian11 | |
| - ubuntu2004 | |
| - ubuntu2204 | |
| - ubuntu2404 | |
| - macos | |
| - macos_arm64 | |
| bazel: [7.x, 8.x, rolling] | |
| tasks: | |
| verify_targets_unix: | |
| name: Build and test targets on Unix platforms | |
| platform: ${{ unix_platform }} | |
| bazel: ${{ bazel }} | |
| build_targets: | |
| - "@azure-storage-blobs-cpp//:azure_storage_blobs_cpp" | |
| build_flags: | |
| - "--@curl//:ssl_lib=openssl" | |
| test_targets: | |
| - "@azure-storage-blobs-cpp//:azure_storage_blobs_cpp_test" | |
| test_flags: | |
| - "--@curl//:ssl_lib=openssl" | |
| verify_targets_windows: | |
| name: Build and test targets on Windows | |
| platform: windows | |
| bazel: ${{ bazel }} | |
| build_targets: | |
| - "@azure-storage-blobs-cpp//:azure_storage_blobs_cpp" | |
| build_flags: | |
| - "--@azure-core-cpp//:build_transport_curl=false" | |
| # - "--@azure-core-cpp//:build_transport_winhttp=true" | |
| # Enable once wil is in the BCR: | |
| # (https://github.com/bazelbuild/bazel-central-registry/issues/3807). | |
| # test_targets: | |
| # - "@azure-storage-blobs-cpp//:azure_storage_blobs_cpp_test" | |
| # test_flags: | |
| # - "--@azure-core-cpp//:build_transport_curl=false" | |
| # - "--@azure-core-cpp//:build_transport_winhttp=true" |