diff options
| author | ruki <[email protected]> | 2021-01-20 23:54:12 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-01-20 23:54:12 +0800 |
| commit | 45106175eef0f20f97c2228009db8ffd09a50319 (patch) | |
| tree | 86556421fa3d55680a70f282341b0d0d49d29006 | |
| parent | 69e30c48dd9f1a916670d5c90935ad40ce26ac8b (diff) | |
fix tests
| -rw-r--r-- | tests/projects/hybrid/static_library/test.lua | 6 | ||||
| -rw-r--r-- | tests/projects/hybrid/static_library/xmake.lua | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/projects/hybrid/static_library/test.lua b/tests/projects/hybrid/static_library/test.lua index b76241be2..5cad49b73 100644 --- a/tests/projects/hybrid/static_library/test.lua +++ b/tests/projects/hybrid/static_library/test.lua @@ -1,6 +1,6 @@ --- main entry function main(t) - - -- build project + if is_host("macosx") and os.arch() == "arm64" then + return + end t:build() end diff --git a/tests/projects/hybrid/static_library/xmake.lua b/tests/projects/hybrid/static_library/xmake.lua index 5d0ef1494..bc28df33f 100644 --- a/tests/projects/hybrid/static_library/xmake.lua +++ b/tests/projects/hybrid/static_library/xmake.lua @@ -17,7 +17,7 @@ target("demo") target("demo2") set_kind("binary") - add_files("src/main2.cpp", "src/*.d") + add_files("src/main2.cpp") if not is_plat("macosx") then set_enabled(false) end |
