update ci

This commit is contained in:
neargye 2019-10-01 18:43:46 +05:00
parent 7f4fc39a0a
commit a8dac47ada
2 changed files with 30 additions and 5 deletions

View file

@ -2,6 +2,7 @@ version: "{branch} #{build}"
image: image:
- Visual Studio 2017 - Visual Studio 2017
- Visual Studio 2019
platform: platform:
- Win32 - Win32
@ -14,15 +15,11 @@ configuration:
build: build:
parallel: true parallel: true
environment:
matrix:
- GENERATOR: "Visual Studio 15 2017"
before_build: before_build:
- if exist build RMDIR /S /Q build - if exist build RMDIR /S /Q build
- if not exist build mkdir build - if not exist build mkdir build
- cd build - cd build
- cmake -G "%GENERATOR%" -A %PLATFORM% .. - cmake -A %PLATFORM% ..
build_script: build_script:
- cmake --build . --config %CONFIGURATION% - cmake --build . --config %CONFIGURATION%

View file

@ -6,6 +6,28 @@ language: cpp
matrix: matrix:
include: include:
- os: linux
compiler: g++
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env:
- CXX_COMPILER=g++-7 CC_COMPILER=gcc-7
- os: linux
compiler: g++
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
env:
- CXX_COMPILER=g++-8 CC_COMPILER=gcc-8
- os: linux - os: linux
compiler: g++ compiler: g++
addons: addons:
@ -69,6 +91,12 @@ matrix:
env: env:
- CXX_COMPILER=clang++-8 CC_COMPILER=clang-8 - CXX_COMPILER=clang++-8 CC_COMPILER=clang-8
- os: osx
compiler: clang++
osx_image: xcode9.4
env:
- CXX_COMPILER=clang++ CC_COMPILER=clang
- os: osx - os: osx
compiler: clang++ compiler: clang++
osx_image: xcode10.3 osx_image: xcode10.3