Merge branch 'contributor-lr' of https://github.com/LRossman/EPANET into contributor-lr
This commit is contained in:
30
appveyor.yml
30
appveyor.yml
@@ -9,8 +9,23 @@
|
|||||||
|
|
||||||
version: 2.0.{build}
|
version: 2.0.{build}
|
||||||
|
|
||||||
image:
|
matrix:
|
||||||
- Visual Studio 2013
|
allow_failures:
|
||||||
|
#GROUP: (SUPPORTED/EXPERIMENTAL)
|
||||||
|
#EXPERIMENTAL is allowed to fail under build matrix
|
||||||
|
- GROUP: "EXPERIMENTAL"
|
||||||
|
|
||||||
|
environment:
|
||||||
|
matrix:
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
|
||||||
|
GENERATOR: "Visual Studio 10 2010"
|
||||||
|
GROUP: "SUPPORTED"
|
||||||
|
BOOST_ROOT: "C:/Libraries/boost"
|
||||||
|
# New build on Visual Studio 15 2017
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
||||||
|
GENERATOR: "Visual Studio 15 2017 Win64"
|
||||||
|
GROUP: "EXPERIMENTAL"
|
||||||
|
BOOST_ROOT: "C:/Libraries/boost_1_67_0"
|
||||||
|
|
||||||
# called before repo cloning
|
# called before repo cloning
|
||||||
init:
|
init:
|
||||||
@@ -18,9 +33,11 @@ init:
|
|||||||
- set BUILD_HOME=buildprod
|
- set BUILD_HOME=buildprod
|
||||||
- set TEST_HOME=nrtestsuite
|
- set TEST_HOME=nrtestsuite
|
||||||
- set NRTEST_SCRIPT=C:\Python27\Scripts
|
- set NRTEST_SCRIPT=C:\Python27\Scripts
|
||||||
- set GENERATOR="Visual Studio 10 2010"
|
# See values set
|
||||||
- set BOOST_ROOT="C:\\Libraries\\boost"
|
- echo %APPVEYOR_BUILD_WORKER_IMAGE%
|
||||||
- set BOOST_LIB="C:\\Libraries\\boost\\lib32-msvc-12.0"
|
- echo %BUILD_HOME%
|
||||||
|
- echo %GENERATOR%
|
||||||
|
- echo %BOOST_ROOT%
|
||||||
|
|
||||||
# called after repo clone
|
# called after repo clone
|
||||||
install:
|
install:
|
||||||
@@ -30,9 +47,8 @@ install:
|
|||||||
before_build:
|
before_build:
|
||||||
- mkdir %BUILD_HOME%
|
- mkdir %BUILD_HOME%
|
||||||
- cd %BUILD_HOME%
|
- cd %BUILD_HOME%
|
||||||
- cmake -G %GENERATOR%
|
- cmake -G "%GENERATOR%"
|
||||||
-DBOOST_ROOT="%BOOST_ROOT%"
|
-DBOOST_ROOT="%BOOST_ROOT%"
|
||||||
-DBOOST_LIBRARYDIR="%BOOST_LIB%"
|
|
||||||
-DBoost_USE_STATIC_LIBS="ON" ..
|
-DBoost_USE_STATIC_LIBS="ON" ..
|
||||||
|
|
||||||
# run custom build script
|
# run custom build script
|
||||||
|
|||||||
Reference in New Issue
Block a user