Skip to content

codebuild: Add support for MacOS #31170

@alanxluc

Description

@alanxluc

Describe the feature

CodeBuild recently added support for Mac builds. https://aws.amazon.com/about-aws/whats-new/2024/08/aws-codebuild-mac-builds/

The CDK can to be extended to support Mac CodeBuild fleets, as well as using those fleets in CodeBuild projects.

Use Case

I have a couple of existing CodeBuild jobs created using CDK for building a project on AL2023 and Windows. I would like to extend this to Mac as well to ensure that builds work smoothly on as many platforms as possible.

Proposed Solution

  1. This enum needs to have an additional MAC_ARM value added to it.
  2. A MacBuildImage class needs to be added to this file.

Validation will also need to be added, since the MacOS support has some limitations. See the release article linked above for more information.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.152.0

Environment details (OS name and version, etc.)

Amazon Linux 2023

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-codebuildRelated to AWS CodeBuildeffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions