Skip to content

Commit

Permalink
feat: add windows ci job
Browse files Browse the repository at this point in the history
  • Loading branch information
Bambooin committed Jan 15, 2022
1 parent 56e9d2a commit 14ee47a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/commit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,17 @@ jobs:

- name: Unit test
run: make xcode/test
windows:
runs-on: windows-latest
steps:
- name: Checkout last commit
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: "recursive"

- name: Install dependency
run: .\action-install-windows.bat

- name: Unit test
run: .\build.bat test
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions appveyor.install.bat → action-install-windows.bat
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
setlocal

call appveyor_build_boost.bat
call action-build-boost.bat
if errorlevel 1 goto error

call appveyor_build_thirdparty.bat
call action-build-thirdparty.bat
if errorlevel 1 goto error

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

0 comments on commit 14ee47a

Please sign in to comment.