aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2026-01-29 00:49:41 +0800
committerLi Jin <dragon-fly@qq.com>2026-01-29 00:49:41 +0800
commit022d4298a7d92912282c62852d76b9b50dce86ad (patch)
treeeeb6e2508e5ab69be5f5054112c3bcde81f5d94a /.github
parentdd64edd58fe25ec74ae5958128cf3f74b0692f3b (diff)
downloadyuescript-022d4298a7d92912282c62852d76b9b50dce86ad.tar.gz
yuescript-022d4298a7d92912282c62852d76b9b50dce86ad.tar.bz2
yuescript-022d4298a7d92912282c62852d76b9b50dce86ad.zip
Fixed Windows build.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows.yml10
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: |