2018-04-20 00:27:12 +03:00
version : '{build}'
2018-09-22 22:07:07 +03:00
image :
- Visual Studio 2015
2018-10-24 19:16:43 +03:00
- Visual Studio 2017
2018-09-22 22:07:07 +03:00
- Ubuntu1604
- Ubuntu1804
2018-04-20 00:27:12 +03:00
2018-10-24 19:16:43 +03:00
configuration : Release
2018-04-20 00:27:12 +03:00
2018-10-24 19:16:43 +03:00
skip_branch_with_pr : true
2018-04-20 00:27:12 +03:00
clone_depth : 1
init :
2018-09-22 22:07:07 +03:00
- ps : Update-AppveyorBuild -Version "build-$env:APPVEYOR_BUILD_NUMBER-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"
install : git submodule update --init --recursive
2018-04-20 00:27:12 +03:00
2018-10-24 19:16:43 +03:00
for :
-
matrix :
only :
- image : Visual Studio 2015
build_script :
- src\BuildAll.cmd
- exit %errorlevel%
artifacts :
- path : output\pkg\*\*
name : Windows
-
matrix :
only :
- image : Visual Studio 2017
init :
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
before_build :
- configure
build_script :
- nmake
after_build :
- 7z a "%APPVEYOR_BUILD_FOLDER%\build\%APPVEYOR_PROJECT_NAME%_%APPVEYOR_BUILD_VERSION%_Windows_x64_%CONFIGURATION%.zip" "%APPVEYOR_BUILD_FOLDER%\build\*.exe"
- 7z a "%APPVEYOR_BUILD_FOLDER%\build\%APPVEYOR_PROJECT_NAME%_%APPVEYOR_BUILD_VERSION%_Windows_x64_%CONFIGURATION%.zip" "%APPVEYOR_BUILD_FOLDER%\build\hamcore.se2"
artifacts :
- path : build\%APPVEYOR_PROJECT_NAME%_%APPVEYOR_BUILD_VERSION%_Windows_x64_%CONFIGURATION%.zip
name : Windows
-
matrix :
only :
- image : Ubuntu1604
before_build :
- ./configure
build_script :
2018-11-03 21:51:09 +03:00
- make package -C tmp -j $(nproc || sysctl -n hw.ncpu || echo 4)
2018-10-24 19:16:43 +03:00
after_build :
2018-10-26 15:24:09 +03:00
- .ci/appveyor_afterbuild.sh
2018-10-24 19:16:43 +03:00
artifacts :
- path : build/*.deb
name : Ubuntu
-
matrix :
only :
- image : Ubuntu1804
before_build :
- ./configure
build_script :
2018-11-03 21:51:09 +03:00
- make package -C tmp -j $(nproc || sysctl -n hw.ncpu || echo 4)
2018-10-29 13:53:42 +03:00
- .ci/memory-leak-test.sh
2018-10-24 19:16:43 +03:00
after_build :
2018-10-26 15:24:09 +03:00
- .ci/appveyor_afterbuild.sh
2018-10-24 19:16:43 +03:00
artifacts :
- path : build/*.deb
name : Ubuntu