BetterThanTomorrow / calva

Clojure & ClojureScript Interactive Programming for VS Code
https://marketplace.visualstudio.com/items?itemName=betterthantomorrow.calva
Other
1.67k stars 217 forks source link

Update nightly clojure-lsp download for Apple Silicon builds #1823

Closed PEZ closed 1 year ago

PEZ commented 2 years ago

Currently clojure-lsp's nightly builds are done with Github Actions, which do not support Apple Silicon on shared runners.

There are Apple Silicon builds off the main branch that could be used instead at https://api.cirrus-ci.com/v1/artifact/github/clojure-lsp/clojure-lsp/main/binaries/clojure-lsp-native-macos-aarch64.zip

To make it work seamlessly for Mac M1/M2 users we should update how Calva selects the builds. One option is to make an exception for Mac M1 and download at the cirrus link. Another option is considered by @ericdallo, though: Using DNS records on clojure-lsp.io to provide redirects on the same base URLs regardless of where the builds are actually located.

Whichever option, we will need to update Calva.

PEZ commented 1 year ago

This is done since a while.