summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/actions/install/test.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/actions/install/test.lua b/tests/actions/install/test.lua
new file mode 100644
index 000000000..78173bac7
--- /dev/null
+++ b/tests/actions/install/test.lua
@@ -0,0 +1,8 @@
+function main(t)
+ if is_host("windows", "linux", "macosx") and os.arch():startswith("x") then
+ os.vrun("xmake -y")
+ os.vrun("xmake run app")
+ os.vrun("xmake install -o build/usr")
+ os.vrun("./build/usr/app/bin/app" .. (is_host("windows") and ".exe" or ""))
+ end
+end