ci: use M1 for macOS

GH Actions runners use M1 hardware for `macos-14` now. Since macOS is
one of the slowest platforms for parser compilation, switching should
give us not only ARM coverage but also shorter CI times.
This commit is contained in:
Christian Clason 2024-01-31 10:42:21 +01:00
parent 45cde459b5
commit 364b86ec8e
2 changed files with 2 additions and 2 deletions

7
scripts/ci-install-macos-14.sh Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
curl -L https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-macos.tar.gz | tar -xz
sudo ln -s "$PWD"/nvim-macos/bin/nvim /usr/local/bin
rm -rf "$PWD"/nvim-macos/lib/nvim/parser
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
ln -s "$PWD" ~/.local/share/nvim/site/pack/nvim-treesitter/start