diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-07 18:15:00 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-07 18:20:38 +0300 |
commit | a624f077140c395a522859a49bf039c8aa9a467d (patch) | |
tree | 4609822d3d878ad7c76f4eff5d8c4a319efbdcc9 | |
parent | Travis: install newer CMake (diff) | |
download | cmake-common-a624f077140c395a522859a49bf039c8aa9a467d.tar.gz cmake-common-a624f077140c395a522859a49bf039c8aa9a467d.zip |
AppVeyor: build cmake/examples
-rw-r--r-- | appveyor.yml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml index 866ed06..8b70c13 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,10 +5,28 @@ image: - Visual Studio 2017 - Visual Studio 2019 +configuration: + - Release + +platform: + - x64 + environment: + appveyor_boost_version: 1.65.0 python_exe: C:\Python36-x64\python.exe build_script: + - echo Simple CMake projects + + - '"%python_exe%" ./cmake/build/build.py --install C:\install\simple --configuration Release -- cmake/examples/simple' + - C:\install\simple\bin\foo.exe + + - '"%python_exe%" ./cmake/build/build.py --install C:\install\static --configuration Debug -- cmake/examples/static -A Win32' + - C:\install\static\bin\foo.exe + + - '"%python_exe%" ./cmake/build/build.py --install C:\install\dynamic --configuration Release -- cmake/examples/dynamic' + - C:\install\dynamic\bin\foo.exe + - '"%python_exe%" ./boost/build/build.py download 1.58.0' - '"%python_exe%" ./boost/build/build.py download --cache . 1.72.0' @@ -17,5 +35,5 @@ build_script: - '"%python_exe%" ./boost/build/build.py build --configuration Debug Release --platform x86 x64 --link shared -- ./boost_1_72_0 --with-filesystem --with-program_options' - dir /a-D /S /B boost_1_72_0\stage - - cmd: set "appveyor_boost_version=1.65.0" && set "CONFIGURATION=Release" && set "PLATFORM=x64" && "%python_exe%" ./boost/build/ci/appveyor.py --link static -- --with-filesystem --with-program_options + - '"%python_exe%" ./boost/build/ci/appveyor.py --link static -- --with-filesystem --with-program_options' - dir /a-D /S /B C:\boost_1_65_0\stage |