Add 60 minute timeout to build step of macos-build matrix job #123
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
When macOS jobs hang, they have a knock-on effect on other projects because they run on a dedicated pool. There is currently no timeout set on the job or steps in this matrix, so it defaults to 6 hours. This is unlike the Windows equivalent, which has a timeout of 60 minutes.
Modifications
Add 60 minute timeout to build step of macos-build matrix job.
Result
macOS jobs that are taking longer than 60 minutes will timeout, which will reduce the impact of hanging jobs on other projects.