codegen mobile and macos configs (#38539)
Summary:
Second round of conversion to generated CircleCI configs
Pull Request resolved: https://github.com/pytorch/pytorch/pull/38539
Differential Revision: D21596722
Pulled By: kostmo
fbshipit-source-id: 448eca382f7f108d1c8b45df419429423c3b248f