forked from EasyIME/PIME
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement AppVeyor CI automated build script.
- Loading branch information
Showing
3 changed files
with
39 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
setlocal | ||
|
||
"C:\Program Files (x86)\NSIS\makensis.exe" installer\installer.nsi | ||
if %ERRORLEVEL% NEQ 0 goto ERROR | ||
|
||
:ERROR | ||
set EXITCODE=%ERRORLEVEL% | ||
|
||
:EXIT | ||
exit /b %EXITCODE% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
skip_tags: true | ||
pull_requests: | ||
do_not_increment_build_number: true | ||
|
||
version: '{branch} build {build}' | ||
image: Visual Studio 2015 | ||
|
||
init: | ||
- git --version | ||
- git config --global core.autocrlf true | ||
|
||
install: | ||
- git submodule init | ||
- git submodule update | ||
- choco install nsis | ||
|
||
build_script: | ||
- .\build.bat | ||
|
||
after_build: | ||
- appveyor.after_build.bat | ||
|
||
artifacts: | ||
- path: installer\PIME-0.15.2-setup.exe | ||
name: Installer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,5 @@ | ||
mkdir build | ||
cd build | ||
cmake -G "Visual Studio 14 2015" .. | ||
cmake --build . --config Release | ||
cd .. | ||
cmake . -Bbuild -G"Visual Studio 14 2015" | ||
cmake --build build --config Release | ||
|
||
mkdir build64 | ||
cd build64 | ||
cmake -G "Visual Studio 14 2015 Win64" .. | ||
cmake --build . --config Release --target PIMETextService | ||
cd .. | ||
|
||
cd installer | ||
makensis installer.nsi | ||
pause | ||
cmake . -Bbuild64 -G"Visual Studio 14 2015 Win64" | ||
cmake --build build64 --config Release --target PIMETextService |