summaryrefslogtreecommitdiff
path: root/tests/projects/c++
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-12 23:18:52 +0800
committerruki <[email protected]>2025-01-12 23:18:52 +0800
commita63b9985d18531937fac56437f8baf71a879883b (patch)
tree9e2f17cb14d81aec40e78829a46861a41b8bddf0 /tests/projects/c++
parentc9f630737ed79ff4b56f9ea74656492db5b45dcb (diff)
install libc++ on linux ci
Diffstat (limited to 'tests/projects/c++')
-rw-r--r--tests/projects/c++/modules/test_base.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/projects/c++/modules/test_base.lua b/tests/projects/c++/modules/test_base.lua
index 3f12d860e..80206983a 100644
--- a/tests/projects/c++/modules/test_base.lua
+++ b/tests/projects/c++/modules/test_base.lua
@@ -58,11 +58,11 @@ function main(t)
end
local clang = find_tool("clang", {version = true})
if clang and clang.version and semver.compare(clang.version, "14.0") >= 0 then
- os.vexec("xmake clean -a")
- os.vexec("xmake f --toolchain=clang -c --yes")
+ os.exec("xmake clean -a")
+ os.exec("xmake f --toolchain=clang -c --yes")
_build()
- os.vexec("xmake clean -a")
- os.vexec("xmake f --toolchain=clang --runtimes=c++_shared -c --yes")
+ os.exec("xmake clean -a")
+ os.exec("xmake f --toolchain=clang --runtimes=c++_shared -c --yes")
_build()
end
end