Draft: Add caching to test:macos job
Recently, test:macos CI job doesn't have caching mechanim. It has to rebuild everything from scratch before able to run the test suite. After we enable test:macos by default in merge train, this compiling time may become a problem.
This commit adds caching to test:macos job. To achieve this, I added architecture env to the cache key of build artifacts. As the frequency of macos job is low, we also don't need a dedicated build job in the build stage.