chalk icon indicating copy to clipboard operation
chalk copied to clipboard

CI: consider running on more platforms

Open ee7 opened this issue 1 year ago • 2 comments

We currently aim to release chalk for:

  • Linux arm64
  • Linux x86_64
  • macOS arm64
  • macOS x86_64

However, in this repo we currently only test Linux x86_64 builds. To have better/earlier visibility on potential problems that affect a subset of platforms, we could try adding more platforms in CI.

The easiest to add is probably macOS x86_64, except that there's an issue right now that prevented us releasing chalk 0.3.1 (2024-01-23) for that platform.

ee7 avatar Jan 24 '24 10:01 ee7

GitHub announced on 2024-01-30:

The macOS 14 runner image is now available for GitHub hosted runners. Workflows executed on this image will run exclusively on the 3 vCPU M1 runner announced earlier today. To use the runner, simply update the runs-on: key in your YAML workflow file to macos-14, macos-14-xlarge, or macos-14-large.

The macOS 12 runner image will remain latest until migration of the latest YAML workflow label to macOS 14 in Q2 FY24 (April – June 2024). While macOS 13 is now generally available under the macos-13 label, this image will not be migrated to latest. Following this announcement, macOS 11 runner image will begin deprecation immediately with retirement expected to complete by June 2024.

Note that the macOS 14 labels are currently marked as beta. That means there's less assurance that it always works, and historically it's meant that there can be a significant queue. But it does allow us to consider:

  • Adding macOS arm64 builds to CI in this repo without using an external provider, or hosting runners ourselves
  • Building macOS arm64 release binaries using GitHub-hosted runners

ee7 avatar Jan 31 '24 19:01 ee7