From d092bafc74a851939925ec2d40a8bd364b607d68 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Tue, 31 Oct 2023 17:50:50 +0800 Subject: Update windows.yml --- .github/workflows/windows.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 7286642..2327710 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -25,7 +25,8 @@ jobs: bin\windows\Win32\Debug\yue.exe spec\inputs\try_catch.yue -o spec\generated\5.1\try_catch.lua --target=5.1 bin\windows\Win32\Debug\yue.exe spec\inputs\attrib.yue -o spec\generated\5.1\attrib.lua --target=5.1 bin\windows\Win32\Debug\yue.exe spec\inputs\test\loops_spec.yue -o spec\generated\5.1\test\loops_spec.lua --target=5.1 - bin\windows\Win32\Debug\yue.exe -e "io.popen('git diff --no-index spec\\outputs spec\\generated')\read('*a') |> ((r)-> r ~= '' and print(r) and os.exit 1)" + bin\windows\Win32\Debug\yue.exe -e spec/inputs/compile_doc.yue spec/generated + bin\windows\Win32\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))" msbuild win-build\Yuescript.sln /p:Configuration=Debug /p:Platform=x64 bin\windows\x64\Debug\yue.exe spec\inputs -t spec\generated --tl_enabled bin\windows\x64\Debug\yue.exe spec\inputs\teal_lang.yue -o spec\generated\teal_lang.lua @@ -33,6 +34,7 @@ jobs: bin\windows\x64\Debug\yue.exe spec\inputs\try_catch.yue -o spec\generated\5.1\try_catch.lua --target=5.1 bin\windows\x64\Debug\yue.exe spec\inputs\attrib.yue -o spec\generated\5.1\attrib.lua --target=5.1 bin\windows\x64\Debug\yue.exe spec\inputs\test\loops_spec.yue -o spec\generated\5.1\test\loops_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: pack if: startsWith(github.ref, 'refs/tags/') -- cgit v1.2.3-55-g6feb