build(ci): bump zig to 0.15.1 and add more platforms

- Bump zig version to 0.15.1 and workaround zig fetch hang (ziglang/zig#24916)
- add mac os zig build (currently without luajit, linker failure)
- Add windows zig build, currently with very limited testing
This commit is contained in:
bfredl
2025-08-07 11:36:21 +02:00
parent 2debe2f30a
commit 0458a1e694
8 changed files with 95 additions and 33 deletions

View File

@@ -4,8 +4,8 @@
local t = require('test.testutil')
require('test.functional.ui.screen')
if t.is_os('win') then
local ffi = require('ffi')
local has_ffi, ffi = pcall(require, 'ffi')
if t.is_os('win') and has_ffi then
ffi.cdef [[
typedef int errno_t;
errno_t _set_fmode(int mode);