Adds JOB_BASE_NAME to steps of CircleCI mac workflows (#62892)
Summary:
Upon noticing that we had a job entry named "None" in our S3 stats, I set out to find which test reporting had a JOB_BASE_NAME that wasn't set.
It turns out all non Windows and Linux workflows did not have JOB_BASE_NAME but instead used CIRCLE_JOB. This remedies the current issue by explicitly setting JOB_BASE_NAME in Mac workflows, but doesn't touch anything else as those other jobs (like android) do not report test stats.
This also adds back the CIRCLE_JOB dependency in print_test_stats to be backwards compatible, but the goal is to move off of CIRCLE_JOB dependency to a more CI-platform-agnostic naming of variables.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/62892
Test Plan:
Imported from GitHub, without a `Test Plan:` line.
{F639556801}
None is now the macos!
Reviewed By: walterddr
Differential Revision: D30160234
Pulled By: janeyx99
fbshipit-source-id: df868dec5f9b289d3837e927d2bb95acb2d9185b