mirror of
https://github.com/google/re2.git
synced 2025-10-14 02:17:38 +08:00
.bcr: fix windows command-line flags
Change-Id: I9fe55a5db9c7080b818d8b4411982ad4e65d50f5 Reviewed-on: https://code-review.googlesource.com/c/re2/+/63990 Reviewed-by: Jeremy Kun <jkun@google.com> Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
@@ -4,12 +4,12 @@ matrix:
|
||||
- debian10
|
||||
- ubuntu2004
|
||||
- macos
|
||||
- windows
|
||||
bazel:
|
||||
- 7.x
|
||||
- 8.x
|
||||
|
||||
tasks:
|
||||
build:
|
||||
unix_build:
|
||||
platform: ${{ platform }}
|
||||
bazel: ${{ bazel }}
|
||||
build_flags:
|
||||
@@ -17,6 +17,14 @@ tasks:
|
||||
build_targets:
|
||||
- '@re2//:re2'
|
||||
- '@re2//python:re2'
|
||||
windows_build:
|
||||
platform: windows
|
||||
bazel: ${{ bazel }}
|
||||
build_flags:
|
||||
- '--cxxopt=/std:c++17'
|
||||
build_targets:
|
||||
- '@re2//:re2'
|
||||
- '@re2//python:re2'
|
||||
|
||||
bcr_test_module:
|
||||
module_path: '.'
|
||||
@@ -31,7 +39,7 @@ bcr_test_module:
|
||||
- 7.x
|
||||
- 8.x
|
||||
tasks:
|
||||
test:
|
||||
unix_test:
|
||||
platform: ${{ platform }}
|
||||
bazel: ${{ bazel }}
|
||||
test_flags:
|
||||
@@ -45,3 +53,17 @@ bcr_test_module:
|
||||
- '-//:exhaustive_test'
|
||||
- '-//:random_test'
|
||||
- '//python:all'
|
||||
windows_test:
|
||||
platform: windows
|
||||
bazel: ${{ bazel }}
|
||||
test_flags:
|
||||
- '--cxxopt=/std:c++17'
|
||||
test_targets:
|
||||
- '//:all'
|
||||
- '-//:dfa_test'
|
||||
- '-//:exhaustive1_test'
|
||||
- '-//:exhaustive2_test'
|
||||
- '-//:exhaustive3_test'
|
||||
- '-//:exhaustive_test'
|
||||
- '-//:random_test'
|
||||
- '//python:all'
|
||||
|
Reference in New Issue
Block a user