acton icon indicating copy to clipboard operation
acton copied to clipboard

Run CI tests on MacOS 15 Sequoia

Open plajjan opened this issue 1 year ago • 3 comments

  • [x] test build acton itself on macos-15
  • [x] use acton to compile an acton program on macos-15
  • [ ] start running CI for macos-15 (replacing macos-14)

plajjan avatar Sep 24 '24 11:09 plajjan

Seems to be working just fine. Acton itself builds and it can in turn build apps. Somewhat surprisingly I notice that GitHub actions already has support for macos-15 it seems. They usually lag behind by like 1 year, so this is both surprising and obviously a good thing(tm). Should add to CI.

plajjan avatar Sep 24 '24 16:09 plajjan

Turns out, it's not actually available. GitHub just uses the most confusing wording / tense ever, so https://github.com/github/roadmap/issues/986 says

Actions: macOS 15 is now available for GitHub-hosted runners (GA)

but that apparently means it is NOT AVAILABLE, because you know, this issue is scheduled in the future. How about using a future tense or something stating what should be done, not past tense like "this is done". WDAF. I opened #1926, but it's stalled. I guess we can just leave it around, macos-15 should be available in a few months or so.

plajjan avatar Sep 24 '24 16:09 plajjan

Maybe I was too quick in declaring that it works. So yesterday macos-15 becamse available on GH runners and our build fails while it works for me locally. https://github.com/actonlang/acton/actions/runs/11018169022/job/30672147008

I just noticed when installing stuff via Brew that I have an outdated XCode version:

Error: Your Xcode (15.3) at /Applications/Xcode.app is too outdated.
Please update to Xcode 16.0 (or delete it).
Xcode can be updated from the App Store.

So maybe after I upgrade, Acton will not build. Presumably, the macos-15 GH runner has the latest XCode. Let's see

plajjan avatar Sep 26 '24 07:09 plajjan

I opted to not replace macos-14 for PR builds. Instead we stick with macos-14 for the build but add a macos-15 for run-macos.

On the nightly run, we do add a complete build with macos-15!

plajjan avatar Oct 07 '24 19:10 plajjan