[Static Runtime] Enabled building Static Runtime tests and benchmarks in OSS CI (#62226)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/62226
Test Plan: Imported from OSS
Reviewed By: malfet
Differential Revision: D29923800
Pulled By: navahgar
fbshipit-source-id: 33cfe0e92a34c7140ea762e5715301cfbf401434