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 @@ -117,7 +117,7 @@ make check-bootstrap
117117
118118# Display the CPU and memory information. This helps us know why the CI timing
119119# is fluctuating.
120- if isOSX ; then
120+ if isMacOS ; then
121121 system_profiler SPHardwareDataType || true
122122 sysctl hw || true
123123 ncpus=$( sysctl -n hw.ncpu)
Original file line number Diff line number Diff line change @@ -30,16 +30,16 @@ function isCI {
3030 [ " $CI " = " true" ] || [ " $TF_BUILD " = " True" ]
3131}
3232
33- function isOSX {
33+ function isMacOS {
3434 [ " $AGENT_OS " = " Darwin" ]
3535}
3636
37- function isMacOS {
38- isOSX
37+ function isWindows {
38+ [ " $AGENT_OS " = " Windows_NT " ]
3939}
4040
41- function isWindows {
42- [ " $AGENT_OS " = " Windows_NT " ]
41+ function isLinux {
42+ [ " $AGENT_OS " = " Linux " ]
4343}
4444
4545function getCIBranch {
You can’t perform that action at this time.
0 commit comments