Merge pull request #87 from paulsapps/ci_builds
Enable travisci and appveyor for auto building of pull requests
This commit is contained in:
commit
9dd92a7d49
17
.travis.yml
Normal file
17
.travis.yml
Normal file
@ -0,0 +1,17 @@
|
||||
language: cpp
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
|
||||
# Travis VMs are 64-bit but we compile both for 32 and 64 bit. To enable the
|
||||
# 32-bit builds to work, we need gcc-multilib.
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- gcc-multilib
|
||||
- g++-multilib
|
||||
|
||||
# Enable container-based builds.
|
||||
sudo: false
|
||||
|
||||
script: mkdir build && cd build && cmake .. && make -j2
|
28
appveyor.yml
Normal file
28
appveyor.yml
Normal file
@ -0,0 +1,28 @@
|
||||
version: 0.0.{build}
|
||||
|
||||
platform:
|
||||
- x86
|
||||
- x64
|
||||
|
||||
configuration:
|
||||
- Debug
|
||||
- Release
|
||||
|
||||
clone_folder: c:\sq
|
||||
|
||||
before_build:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform%
|
||||
- echo %platform%
|
||||
- if %platform%==X64 (cmake .. -G "Visual Studio 14 2015 Win64")
|
||||
- if %platform%==x86 (cmake .. -G "Visual Studio 14 2015")
|
||||
|
||||
build_script:
|
||||
- cmake --build . --config %configuration% -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||
|
||||
artifacts:
|
||||
- path: build\*\%configuration%\*.exe
|
||||
- path: build\*\%configuration%\*.dll
|
||||
|
||||
test: off
|
Loading…
x
Reference in New Issue
Block a user