diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/windows.yml | 10 |
1 files changed, 10 insertions, 0 deletions
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: | |||
| 40 | 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 | 40 | 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 |
| 41 | bin\windows\x64\Debug\yue.exe -e spec/inputs/compile_doc.yue spec/generated | 41 | bin\windows\x64\Debug\yue.exe -e spec/inputs/compile_doc.yue spec/generated |
| 42 | 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))" | 42 | 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))" |
| 43 | - name: Setup MSVC dev cmd | ||
| 44 | uses: ilammy/msvc-dev-cmd@v1 | ||
| 45 | - name: Setup Lua | ||
| 46 | uses: leafo/gh-actions-lua@v12 | ||
| 47 | - name: Setup LuaRocks | ||
| 48 | uses: leafo/gh-actions-luarocks@v6 | ||
| 49 | - name: Install and run busted | ||
| 50 | run: | | ||
| 51 | luarocks install busted | ||
| 52 | busted | ||
| 43 | - name: pack | 53 | - name: pack |
| 44 | if: startsWith(github.ref, 'refs/tags/') | 54 | if: startsWith(github.ref, 'refs/tags/') |
| 45 | run: | | 55 | run: | |
