commit f98b5ee619215a760b9d003d40d5783824c934e9
parent f1c7fb551ecea474734ef5f092601157e31483f1
Author: bfredl <bjorn.linse@gmail.com>
Date: Sun, 9 Nov 2025 11:56:57 +0100
fix(build): remove .tar.gz workaround for bug fixed in zig 0.15.2
The issue affecting this particular archive was fixed in
https://github.com/ziglang/zig/pull/25512, and this was included in
zig 0.15.2
Diffstat:
2 files changed, 1 insertion(+), 13 deletions(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
@@ -216,12 +216,6 @@ jobs:
version: 0.15.2
- run: sudo apt-get install -y inotify-tools
- # This is a workaround for "zig fetch" being unable to decompress lua-dev-deps.tar.gz
- # As the hash in build.zig.zon is calculated after decompression, we can preload the cache instead.
- # This is hopefully fixed for zig 0.15.2, see https://github.com/ziglang/zig/issues/24916
- - run: curl -L https://github.com/neovim/deps/raw/06ef2b58b0876f8de1a3f5a710473dcd7afff251/opt/lua-dev-deps.tar.gz | zcat > lua-dev-deps.tar
- - run: zig fetch lua-dev-deps.tar
-
- run: zig build test_nlua0
- run: zig build nvim && ./zig-out/bin/nvim --version
- run: zig build unittest
@@ -241,9 +235,6 @@ jobs:
with:
version: 0.15.2
- - run: curl -L https://github.com/neovim/deps/raw/06ef2b58b0876f8de1a3f5a710473dcd7afff251/opt/lua-dev-deps.tar.gz | zcat > lua-dev-deps.tar
- - run: zig fetch lua-dev-deps.tar
-
- run: zig build test_nlua0 -Dluajit=false
- run: zig build nvim_bin -Dluajit=false && ./zig-out/bin/nvim --version
- run: zig build functionaltest -Dluajit=false
@@ -258,9 +249,6 @@ jobs:
with:
version: 0.15.2
- - run: curl -L https://github.com/neovim/deps/raw/06ef2b58b0876f8de1a3f5a710473dcd7afff251/opt/lua-dev-deps.tar.gz -O
- - run: 7z x lua-dev-deps.tar.gz
- - run: zig fetch lua-dev-deps.tar
- run: zig build test_nlua0
- run: zig build nvim_bin
- run: ./zig-out/bin/nvim --version
diff --git a/build.zig.zon b/build.zig.zon
@@ -2,7 +2,7 @@
.name = .neovim,
.fingerprint = 0x66eb090879307a38,
.version = "0.12.0",
- .minimum_zig_version = "0.15.0",
+ .minimum_zig_version = "0.15.2",
.dependencies = .{
.zlua = .{