blob: 796d059180185451ad000bbb45246a63bc05698b [file]
// This is a list of configuration for the bazel-tests job.
// See https://github.com/bazelbuild/continuous-integration/blob/master/docs/owner.md#customizing-a-project.
[
{
"configurations": [
{"node": "linux-x86_64"},
{"node": "ubuntu_16.04-x86_64"}
],
"parameters": {
"configure": [
"echo >>WORKSPACE",
"cat >>WORKSPACE <<EOF",
"android_sdk_repository(",
" name = \"androidsdk\",",
" path = \"${ANDROID_SDK_PATH}\",",
")",
"android_ndk_repository(",
" name = \"androidndk\",",
" path = \"${ANDROID_NDK_PATH}\",",
")",
"EOF"
],
"tests": [
"//scripts/...",
"//src/test/...",
"//third_party/ijar/...",
"//tools/android/..."
],
"test_tag_filters": ["-slow"],
"targets": []
}
}, {
"node": "darwin-x86_64",
"parameters": {
"configure": [
"echo >>WORKSPACE",
"cat >>WORKSPACE <<EOF",
"android_sdk_repository(",
" name = \"androidsdk\",",
" path = \"${ANDROID_SDK_PATH}\",",
")",
"android_ndk_repository(",
" name = \"androidndk\",",
" path = \"${ANDROID_NDK_PATH}\",",
")",
"EOF"
],
"build_opts": ["--define IPHONE_SDK=1"],
"tests": [
"//scripts/...",
"//src/test/...",
"//third_party/ijar/...",
"//tools/android/..."
],
"test_tag_filters": ["-slow"],
"targets": []
}
}, {
"toolchain": "msvc",
"node": "windows-x86_64",
"parameters": {
"build_opts": [
"--copt=-w",
"--host_copt=-w"
],
"test_opts": [
// TODO(pcloudy): Remove this after TEMP is properly set.
// A workaround for ASSERT_DEATH in gtest on Windows.
// When running tests, Bazel doesn't set TEMP,
// ASSERT_DEATH will try to write to C:/Windows, then fails.
"--test_env=TEMP"
],
"tests": [
"//src:all_windows_tests"
],
"targets": ["//src:bazel"]
}
}, {
"toolchain": "msys",
"node": "windows-x86_64",
"parameters": {
"build_opts": ["--cpu=x64_windows_msys", "--host_cpu=x64_windows_msys"],
"test_tag_filters": [
"-no_windows",
"-slow"
],
"tests": [],
"targets": ["//examples/cpp:hello-world"]
}
}
]