Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jan 12, 2025
1 parent 229373a commit c9f6307
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/projects/c++/modules/test_base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9f6307

Please sign in to comment.