Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: drop testing of jdk8 on macos #154

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

lread
Copy link
Contributor

@lread lread commented Jun 25, 2024

circleci: configuring for Apple silicon

I could not find a combination of an m1 resource_class and xcode that did not produce a "not available for your project" error from CircleCI. So I left out resource_class for now. Perhaps all will be good after Apple Silicon is the only supportted macos executor on June 29, 2024. I'll come back and check on this an open a new issue if necessary.

circleci: jdk: infer os and architecture from host

JDK architecture was hardcoded to x64 but this is not appropriate for our new Apple silicone hardware. We now infer architecture from host.

Figured might as well infer os from host as well.

Adjusted install dir name to include os and architecture to support testability and a potential future where one might, for example, install x64 on Apple Silicon hardware and use Rosetta. The latter would require a tweak to allow architecture to be selected by the user. We'll allow for that in the future should we need it.

Closes #153

**circleci: configuring for Apple silicon**

I could not find a combination of an m1 `resource_class` and `xcode`
that did not produce a "not available for your project" error from
CircleCI. So I left out `resource_class` for now. Perhaps all will be
good after Apple Silicon is the only supportted macos executor on
June 29, 2024. I'll come back and check on this an open a new issue if
necessary.

**circleci: jdk: infer os and architecture from host**

JDK architecture was hardcoded to x64 but this is not appropriate for our new
Apple silicone hardware. We now infer architecture from host.

Figured might as well infer os from host as well.

Adjusted install dir name to include os and architecture to support
testability and a potential future where one might, for example, install
x64 on Apple Silicon hardware and use Rosetta. The latter would require
a tweak to allow architecture to be selected by the user. We'll allow
for that in the future should we need it.

Closes babashka#153
@lread
Copy link
Contributor Author

lread commented Jun 25, 2024

A vague memory of a confusing thing: your CircleCI checks don't run on PRs, maybe?
Here are CircleCI jobs working on my fork if that helps: https://app.circleci.com/pipelines/github/lread/process

@borkdude borkdude merged commit 59f718c into babashka:master Jun 25, 2024
14 checks passed
@borkdude
Copy link
Contributor

Seems to run fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci chore: address CircleCI & GitHub Actions macOS change
2 participants