Skip to content

Commit 14ee47a

Browse files
committed
feat: add windows ci job
1 parent 56e9d2a commit 14ee47a

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

.github/workflows/commit-ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,17 @@ jobs:
3333

3434
- name: Unit test
3535
run: make xcode/test
36+
windows:
37+
runs-on: windows-latest
38+
steps:
39+
- name: Checkout last commit
40+
uses: actions/checkout@v2
41+
with:
42+
fetch-depth: 0
43+
submodules: "recursive"
44+
45+
- name: Install dependency
46+
run: .\action-install-windows.bat
47+
48+
- name: Unit test
49+
run: .\build.bat test
File renamed without changes.
File renamed without changes.

appveyor.install.bat renamed to action-install-windows.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
setlocal
22

3-
call appveyor_build_boost.bat
3+
call action-build-boost.bat
44
if errorlevel 1 goto error
55

6-
call appveyor_build_thirdparty.bat
6+
call action-build-thirdparty.bat
77
if errorlevel 1 goto error
88

99
if defined RIME_PLUGINS (
@@ -24,7 +24,7 @@ echo "plugin: %slug%"
2424
set plugin_project=%slug:*/=%
2525
set plugin_dir=plugins/%plugin_project:librime-=%
2626
git clone --depth 1 "https://github.com/%slug%.git" %plugin_dir%
27-
if exist %plugin_dir%\appveyor.install.bat (
28-
call %plugin_dir%\appveyor.install.bat
27+
if exist %plugin_dir%\action.install.bat (
28+
call %plugin_dir%\action.install.bat
2929
)
3030
exit /b

0 commit comments

Comments
 (0)