Marek Kotewicz | 13c36e9 | 2015-04-12 12:25:01 +0200 | [diff] [blame] | 1 | clone_folder: c:\projects\jsoncpp |
| 2 | |
Julien Schueller | 3c2069f | 2017-07-12 17:35:22 +0200 | [diff] [blame] | 3 | environment: |
| 4 | matrix: |
Jordan Bayles | 2690bc9 | 2019-06-25 14:48:40 -0700 | [diff] [blame] | 5 | - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 |
| 6 | CMAKE_GENERATOR: Visual Studio 14 2015 |
| 7 | - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 |
| 8 | CMAKE_GENERATOR: Visual Studio 14 2015 Win64 |
| 9 | - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 |
| 10 | CMAKE_GENERATOR: Visual Studio 15 2017 |
| 11 | - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 |
| 12 | CMAKE_GENERATOR: Visual Studio 15 2017 Win64 |
Marek Kotewicz | 1b49a55 | 2015-04-12 12:41:29 +0200 | [diff] [blame] | 13 | |
Julien Schueller | 3c2069f | 2017-07-12 17:35:22 +0200 | [diff] [blame] | 14 | build_script: |
| 15 | - cmake --version |
| 16 | - cd c:\projects\jsoncpp |
Hans Johnson | a3c8e86 | 2019-01-12 12:32:15 -0600 | [diff] [blame] | 17 | - cmake -G "%CMAKE_GENERATOR%" -DCMAKE_INSTALL_PREFIX:PATH=%CD:\=/%/install -DBUILD_SHARED_LIBS:BOOL=ON . |
Jordan Bayles | 408b466 | 2019-06-25 14:27:26 -0700 | [diff] [blame] | 18 | # Use ctest to make a dashboard build: |
| 19 | # - ctest -D Experimental(Start|Update|Configure|Build|Test|Coverage|MemCheck|Submit) |
| 20 | # NOTE: Testing on window is not yet finished: |
| 21 | # - ctest -C Release -D ExperimentalStart -D ExperimentalConfigure -D ExperimentalBuild -D ExperimentalTest -D ExperimentalSubmit |
Hans Johnson | a3c8e86 | 2019-01-12 12:32:15 -0600 | [diff] [blame] | 22 | - ctest -C Release -D ExperimentalStart -D ExperimentalConfigure -D ExperimentalBuild -D ExperimentalSubmit |
Jordan Bayles | 408b466 | 2019-06-25 14:27:26 -0700 | [diff] [blame] | 23 | # Final step is to verify that installation succeeds |
Julien Schueller | 3c2069f | 2017-07-12 17:35:22 +0200 | [diff] [blame] | 24 | - cmake --build . --config Release --target install |
Marek Kotewicz | e983204 | 2015-04-15 18:59:05 +0200 | [diff] [blame] | 25 | |
| 26 | deploy: |
| 27 | provider: GitHub |
| 28 | auth_token: |
| 29 | secure: K2Tp1q8pIZ7rs0Ot24ZMWuwr12Ev6Tc6QkhMjGQxoQG3ng1pXtgPasiJ45IDXGdg |
| 30 | on: |
| 31 | branch: master |
| 32 | appveyor_repo_tag: true |