1*e07d83d3SAndroid Build Coastguard Worker# Config file for internal CI 2*e07d83d3SAndroid Build Coastguard Worker 3*e07d83d3SAndroid Build Coastguard Worker# Location of the continuous shell script in repository. 4*e07d83d3SAndroid Build Coastguard Workerbuild_file: "grpc-java/buildscripts/kokoro/macos.sh" 5*e07d83d3SAndroid Build Coastguard Workertimeout_mins: 45 6*e07d83d3SAndroid Build Coastguard Worker 7*e07d83d3SAndroid Build Coastguard Worker# We had problems with random tests timing out because it took seconds to do 8*e07d83d3SAndroid Build Coastguard Worker# trivial (ns) operations. The Mac machines have 2 cores with 4 logical 9*e07d83d3SAndroid Build Coastguard Worker# threads, so Gradle should be using 4 workers by default. 10*e07d83d3SAndroid Build Coastguard Workerenv_vars { 11*e07d83d3SAndroid Build Coastguard Worker key: "GRADLE_FLAGS" 12*e07d83d3SAndroid Build Coastguard Worker value: "--max-workers=2" 13*e07d83d3SAndroid Build Coastguard Worker} 14*e07d83d3SAndroid Build Coastguard Worker 15*e07d83d3SAndroid Build Coastguard Worker# We always build mvn artifacts. 16*e07d83d3SAndroid Build Coastguard Workeraction { 17*e07d83d3SAndroid Build Coastguard Worker define_artifacts { 18*e07d83d3SAndroid Build Coastguard Worker regex: "github/grpc-java/**/build/test-results/**/sponge_log.xml" 19*e07d83d3SAndroid Build Coastguard Worker regex: "github/grpc-java/mvn-artifacts/**" 20*e07d83d3SAndroid Build Coastguard Worker } 21*e07d83d3SAndroid Build Coastguard Worker} 22