File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ make check-bootstrap
114
114
115
115
# Display the CPU and memory information. This helps us know why the CI timing
116
116
# is fluctuating.
117
- if isOSX ; then
117
+ if isMacOS ; then
118
118
system_profiler SPHardwareDataType || true
119
119
sysctl hw || true
120
120
ncpus=$( sysctl -n hw.ncpu)
Original file line number Diff line number Diff line change @@ -30,16 +30,16 @@ function isCI {
30
30
[ " $CI " = " true" ] || [ " $TF_BUILD " = " True" ]
31
31
}
32
32
33
- function isOSX {
33
+ function isMacOS {
34
34
[ " $AGENT_OS " = " Darwin" ]
35
35
}
36
36
37
- function isMacOS {
38
- isOSX
37
+ function isWindows {
38
+ [ " $AGENT_OS " = " Windows_NT " ]
39
39
}
40
40
41
- function isWindows {
42
- [ " $AGENT_OS " = " Windows_NT " ]
41
+ function isLinux {
42
+ [ " $AGENT_OS " = " Linux " ]
43
43
}
44
44
45
45
function getCIBranch {
You can’t perform that action at this time.
0 commit comments