From c9f630737ed79ff4b56f9ea74656492db5b45dcb Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 12 Jan 2025 22:57:41 +0800 Subject: fix ci --- tests/projects/c++/modules/test_base.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/projects/c++/modules/test_base.lua') diff --git a/tests/projects/c++/modules/test_base.lua b/tests/projects/c++/modules/test_base.lua index 80206983a..3f12d860e 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.exec("xmake clean -a") - os.exec("xmake f --toolchain=clang -c --yes") + os.vexec("xmake clean -a") + os.vexec("xmake f --toolchain=clang -c --yes") _build() - os.exec("xmake clean -a") - os.exec("xmake f --toolchain=clang --runtimes=c++_shared -c --yes") + os.vexec("xmake clean -a") + os.vexec("xmake f --toolchain=clang --runtimes=c++_shared -c --yes") _build() end end -- cgit v1.3.1