square / anvil

A Kotlin compiler plugin to make dependency injection with Dagger 2 easier.
Apache License 2.0
1.28k stars 75 forks source link

handle GitHub's switch to M1 macs for `macos-latest` runners #981

Closed RBusarow closed 2 months ago

RBusarow commented 2 months ago

M1 runners now seem to be the default for macos-latest:

CI run logs

Current runner version: '2.315.0'
Operating System
  macOS
  14.4.1
  23E224
Runner Image
  Image: macos-14-arm64
  Version: 20240415.6
  Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20240415.6/images/macos/macos-14-arm64-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/macos-14-arm64%2F20240415.6

The x86_64 emulators don't work, naturally, but we can now enable virtualization on the ubuntu runners. Enabling virtualization removes the longstanding requirement of using MacOS runners.