From 364b86ec8ea88e4a77ba676b93fb10829d6a9cb3 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Wed, 31 Jan 2024 10:42:21 +0100 Subject: 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. --- scripts/ci-install-macos-14.sh | 7 +++++++ scripts/ci-install-macos-latest.sh | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100755 scripts/ci-install-macos-14.sh delete mode 100755 scripts/ci-install-macos-latest.sh (limited to 'scripts') diff --git a/scripts/ci-install-macos-14.sh b/scripts/ci-install-macos-14.sh new file mode 100755 index 000000000..06bce74f7 --- /dev/null +++ b/scripts/ci-install-macos-14.sh @@ -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 diff --git a/scripts/ci-install-macos-latest.sh b/scripts/ci-install-macos-latest.sh deleted file mode 100755 index 06bce74f7..000000000 --- a/scripts/ci-install-macos-latest.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/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 -- cgit v1.2.3-70-g09d2