You can do continuous integration (CI) using macOS using using GitHub Actions.
You can either specify: macOS-latest
, which currently (at the time of writing) gets you macOS 10.15. Ff you want a newer macOS, like macOS 11 you have to specify: macos-11
.