Add windows platform to bazel-postsubmit.json
"sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^# android_ndk_repository/android_ndk_repository/' WORKSPACE",
"rm -f WORKSPACE.bak"
],
- "build_targets": ["//src:bazel"],
- "test_flags": ["--test_timeout=900"],
+ "build_targets": [
+ "//src:bazel"
+ ],
+ "test_flags": [
+ "--test_timeout=900"
+ ],
"test_targets": [
"//scripts/...",
"//src/test/...",
"//third_party/ijar/...",
- "//tools/android/..."]
+ "//tools/android/..."
+ ]
},
"ubuntu1604": {
"shell_commands": [
"sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^# android_ndk_repository/android_ndk_repository/' WORKSPACE",
"rm -f WORKSPACE.bak"
],
- "build_targets": ["//src:bazel"],
- "test_flags": ["--test_timeout=900"],
+ "build_targets": [
+ "//src:bazel"
+ ],
+ "test_flags": [
+ "--test_timeout=900"
+ ],
"test_targets": [
"//scripts/...",
"//src/test/...",
"//third_party/ijar/...",
- "//tools/android/..."]
+ "//tools/android/..."
+ ]
},
"macos": {
"shell_commands": [
"sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^# android_ndk_repository/android_ndk_repository/' WORKSPACE",
"rm -f WORKSPACE.bak"
],
- "build_targets": ["//src:bazel"],
- "test_flags": ["--test_timeout=900"],
+ "build_targets": [
+ "//src:bazel"
+ ],
+ "test_flags": [
+ "--test_timeout=900"
+ ],
"test_targets": [
"//scripts/...",
"//src/test/...",
"//third_party/ijar/...",
- "//tools/android/..."]
+ "//tools/android/..."
+ ]
+ },
+ "windows": {
+ "build_flags": [
+ "--copt=-w",
+ "--host_copt=-w"
+ ],
+ "build_targets": [
+ "//src:bazel"
+ ],
+ "test_flags": [
+ "--test_env=TEMP"
+ ],
+ "tests": [
+ "//src:all_windows_tests"
+ ]
}
}
}
-
