Skip to content

Commit bc39422

Browse files
committed
Fix installation script
Neovim URI syntax has changed post launch of arm64 instances
1 parent d9d8e25 commit bc39422

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/installation_test.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,24 @@ on: # yamllint disable-line rule:truthy
66
paths: [scripts/, .github/workflows/installation_test.yml]
77
pull_request:
88
paths: [scripts/, .github/workflows/installation_test.yml]
9+
workflow_dispatch:
910
schedule:
1011
- cron: 23 11 * * *
12+
1113
concurrency:
1214
group: |
1315
${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1416
cancel-in-progress: true
17+
1518
jobs:
1619
install_linux:
1720
name: Test official release install on Linux
1821
strategy:
1922
fail-fast: false
2023
matrix:
24+
config:
25+
- {instance: ubuntu-latest, arch: x86-64}
26+
- {instance: ubuntu-24.04-arm, arch: arm64}
2127
install_method: [binary, source]
2228
neovim_version: [stable, nightly, v0.9.0]
2329
runs-on: ubuntu-latest
@@ -42,8 +48,8 @@ jobs:
4248
fail-fast: false
4349
matrix:
4450
config:
45-
- {instance: macos-latest, arch: x86_64}
46-
- {instance: macos-14, arch: arm64}
51+
- {instance: macos-13, arch: x86_64}
52+
- {instance: macos-latest, arch: arm64}
4753
install_method: [binary, source]
4854
neovim_version: [stable, nightly, v0.9.0]
4955
runs-on: ${{ matrix.config.instance }}
@@ -64,9 +70,10 @@ jobs:
6470
fail-fast: false
6571
matrix:
6672
config:
67-
- {instance: ubuntu-latest, arch: x86_64}
68-
- {instance: macos-latest, arch: x86_64}
69-
- {instance: macos-14, arch: arm64}
73+
- {instance: ubuntu-latest, arch: x86-64}
74+
- {instance: ubuntu-24.04-arm, arch: arm64}
75+
- {instance: macos-13, arch: x86_64}
76+
- {instance: macos-latest, arch: arm64}
7077
neovim_version: [stable, nightly, v0.9.0]
7178
runs-on: ${{ matrix.config.instance }}
7279
steps:

scripts/neovim_download.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ function download_neovim() {
9494

9595
echo "Downloading Neovim..."
9696
download "$download_url" "$download_path"
97-
download "$download_url".sha256sum "$checksum_path"
97+
if [[ $version != "nightly" ]]; then
98+
# Nightly versions do not come with checksums
99+
download "$download_url".sha256sum "$checksum_path"
100+
fi
98101
echo "Download completed."
99102
}
100103

0 commit comments

Comments
 (0)