From 022d4298a7d92912282c62852d76b9b50dce86ad Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 29 Jan 2026 00:49:41 +0800 Subject: Fixed Windows build. --- .github/workflows/windows.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.github') diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9cd09fc..5f65181 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -40,6 +40,16 @@ jobs: bin\windows\x64\Debug\yue.exe spec\inputs\test\try_catch_spec.yue -o spec\generated\5.1\test\try_catch_spec.lua --target=5.1 bin\windows\x64\Debug\yue.exe -e spec/inputs/compile_doc.yue spec/generated bin\windows\x64\Debug\yue.exe -e "io.popen('git diff --no-index spec\\outputs spec\\generated')\read('*a') |> ((r)-> r ~= '' and (print(r) or os.exit 1))" + - name: Setup MSVC dev cmd + uses: ilammy/msvc-dev-cmd@v1 + - name: Setup Lua + uses: leafo/gh-actions-lua@v12 + - name: Setup LuaRocks + uses: leafo/gh-actions-luarocks@v6 + - name: Install and run busted + run: | + luarocks install busted + busted - name: pack if: startsWith(github.ref, 'refs/tags/') run: | -- cgit v1.2.3-55-g6feb