diff options
| author | ruki <[email protected]> | 2026-01-05 22:53:51 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-01-05 22:53:51 +0800 |
| commit | f49b27c442870afeaf42a98fb187097845bf814d (patch) | |
| tree | c70bb9af823341a8878a67464ce4bcdf175e991e /tests/projects | |
| parent | 1778ae8fd0a3d09018525cc90d8440e79f976477 (diff) | |
add alpine ci
Diffstat (limited to 'tests/projects')
| -rw-r--r-- | tests/projects/linux/bpf/minimal/test.lua | 2 | ||||
| -rw-r--r-- | tests/projects/package/components/test.lua | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/projects/linux/bpf/minimal/test.lua b/tests/projects/linux/bpf/minimal/test.lua index 2856a3831..5b01d6685 100644 --- a/tests/projects/linux/bpf/minimal/test.lua +++ b/tests/projects/linux/bpf/minimal/test.lua @@ -1,5 +1,5 @@ function main(t) - if is_host("linux") and os.arch() == "x86_64" then + if is_host("linux") and os.arch() == "x86_64" and linuxos.name() ~= "alpine" then os.vrun("xmake f -y -p android -vD") os.vrun("xmake -y -vD") end diff --git a/tests/projects/package/components/test.lua b/tests/projects/package/components/test.lua index fdec596a7..a7e71bb89 100644 --- a/tests/projects/package/components/test.lua +++ b/tests/projects/package/components/test.lua @@ -2,6 +2,9 @@ function main(t) if is_host("bsd", "solaris") or is_subhost("msys") then return end + if is_host("linux") and linuxos.name() == "alpine" then + return + end -- only for x86/x64, because it will take too long time on ci with arm/mips if os.subarch():startswith("x") or os.subarch() == "i386" then |
