Appveyor; clone libecl, not ensembles/ert

This commit is contained in:
Jørgen Kvalsvik 2017-05-16 13:10:47 +02:00
parent 540a64330c
commit 80c0bacaaa

View File

@ -12,14 +12,13 @@ platform:
- x64
environment:
BOOST_ROOT: C:\Libraries\boost_1_59_0\boost
BOOST_INCLUDEDIR: C:\Libraries\boost_1_59_0
BOOST_LIBRARYDIR: C:\Libraries\boost_1_59_0\lib64-msvc-14.0
BOOST_ROOT: C:/Libraries/boost_1_59_0/boost
BOOST_INCLUDEDIR: C:/Libraries/boost_1_59_0
BOOST_LIBRARYDIR: C:/Libraries/boost_1_59_0/lib64-msvc-14.0
BOOST_FLAGS: -DBoost_USE_MULTITHREAD=ON -DBUILD_SHARED_LIBS=OFF -DBoost_USE_STATIC_LIBS=TRUE -DBOOST_ALL_DYN_LINK=OFF
BOOST_OPTIONS: -DBOOST_ROOT=%BOOST_ROOT% -DBOOST_LIBRARYDIR=%BOOST_LIBRARYDIR% -DBOOST_INCLUDEDIR=%BOOST_INCLUDEDIR% %BOOST_FLAGS%
COMMON_ROOT: "C:/projects/opm-parser/opm-common"
DATA_ROOT: "C:/projects/opm-parser/opm-data/"
ERT_ROOT: "C:/Program Files/ERT"
GEN: "Visual Studio 14 2015 Win64"
cache:
@ -28,11 +27,11 @@ cache:
build_script:
- git clone https://github.com/OPM/opm-common.git
- git -C opm-data pull || git clone https://github.com/OPM/opm-data.git
- git clone https://github.com/Ensembles/ert.git
- cd ert
- cmake C:\projects\opm-parser\ert -G"%GEN%" -DCMAKE_BUILD_TYPE=%configuration% -DERT_BUILD_CXX=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_PYTHON=OFF
- cmake --build . --target install --config %configuration%
- git clone https://github.com/statoil/libecl
- cd libecl
- cmake C:\projects\opm-parser\libecl -G"%GEN%" -DCMAKE_BUILD_TYPE=%configuration% -DERT_BUILD_CXX=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_PYTHON=OFF
- cmake --build . --config %configuration%
- cd ..
- cmake C:\projects\opm-parser -G"%GEN%" %BOOST_OPTIONS% -DOPM_DATA_ROOT=%DATA_ROOT% -DOPM_COMMON_ROOT="%COMMON_ROOT%" -DCMAKE_PREFIX_PATH="%ERT_ROOT%" -DCMAKE_BUILD_TYPE=%configuration%
- cmake C:\projects\opm-parser -G"%GEN%" %BOOST_OPTIONS% -DOPM_DATA_ROOT=%DATA_ROOT% -DOPM_COMMON_ROOT="%COMMON_ROOT%" -DCMAKE_BUILD_TYPE=%configuration%
- cmake --build . --config %configuration%
- ctest -C %configuration% --output-on-failure