Skip to content

Commit

Permalink
fix path issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jingkaimori committed Jun 1, 2024
1 parent 388e8bd commit e7ab7f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-xmake-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
steps:
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: v2.9.2
xmake-version: v2.8.8
- name: update repo
run: xmake repo -u
- name: git crlf
Expand Down
6 changes: 3 additions & 3 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,9 @@ if has_config("enable_tests") then
set_values("wasm.preloadfiles", {"xmake.lua", "tests", "LICENSE"})
on_test(function (target, opt)
node = os.getenv("EMSDK_NODE")
os.cd("$(buildir)/wasm/wasm32/$(mode)/")
print("> cd $(buildir)/wasm/wasm32/$(mode)/")
cmd = node .. " " .. opt.name .. ".js"
os.cd(target:targetdir())
print("> cd " .. target:targetdir())
cmd = node .. " " .. target:targetfile()
print("> " .. cmd)
local retval = try {
function ()
Expand Down

0 comments on commit e7ab7f0

Please sign in to comment.