.bcr/presubmit.yml
raw| 1 | matrix: |
| 2 | platform: |
| 3 | - rockylinux8 |
| 4 | - debian10 |
| 5 | - ubuntu2004 |
| 6 | - macos |
| 7 | bazel: |
| 8 | - 7.x |
| 9 | - 8.x |
| 10 | |
| 11 | tasks: |
| 12 | unix_build: |
| 13 | platform: ${{ platform }} |
| 14 | bazel: ${{ bazel }} |
| 15 | build_flags: |
| 16 | - '--cxxopt=-std=c++17' |
| 17 | build_targets: |
| 18 | - '@re2//:re2' |
| 19 | - '@re2//python:re2' |
| 20 | windows_build: |
| 21 | platform: windows |
| 22 | bazel: ${{ bazel }} |
| 23 | build_flags: |
| 24 | - '--cxxopt=/std:c++17' |
| 25 | build_targets: |
| 26 | - '@re2//:re2' |
| 27 | - '@re2//python:re2' |
| 28 | |
| 29 | bcr_test_module: |
| 30 | module_path: '.' |
| 31 | matrix: |
| 32 | platform: |
| 33 | - rockylinux8 |
| 34 | - debian10 |
| 35 | - ubuntu2004 |
| 36 | - macos |
| 37 | - windows |
| 38 | bazel: |
| 39 | - 7.x |
| 40 | - 8.x |
| 41 | tasks: |
| 42 | unix_test: |
| 43 | platform: ${{ platform }} |
| 44 | bazel: ${{ bazel }} |
| 45 | test_flags: |
| 46 | - '--cxxopt=-std=c++17' |
| 47 | test_targets: |
| 48 | - '//:small_tests' |
| 49 | - '//python:all' |
| 50 | windows_test: |
| 51 | platform: windows |
| 52 | bazel: ${{ bazel }} |
| 53 | test_flags: |
| 54 | - '--cxxopt=/std:c++17' |
| 55 | test_targets: |
| 56 | - '//:small_tests' |
| 57 | - '//python:all' |