diff options
| author | ruki <[email protected]> | 2026-01-05 11:24:06 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-01-05 11:24:06 +0800 |
| commit | c8ecdbe7283ec7478ee4f855b5e878aaa16c3fa6 (patch) | |
| tree | c70bb9af823341a8878a67464ce4bcdf175e991e /tests/projects | |
| parent | 5631b98caa40ad06994f983a7c2a500be4b0e2b2 (diff) | |
| parent | f49b27c442870afeaf42a98fb187097845bf814d (diff) | |
Merge pull request #7186 from xmake-io/alpine
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 |
