From 13c36e9807ff813ab51e1a1b214f626efda55cef Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Sun, 12 Apr 2015 12:25:01 +0200 Subject: [PATCH 1/6] appveyor.yml --- appveyor.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..89d9a15 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,22 @@ +version: 1.6.2.{build} + +os: Windows Server 2012 R2 + +clone_folder: c:\projects\jsoncpp + +#platform: Any CPU +configuration: + - Debug + - Release + +install: + # by default, all script lines are interpreted as batch + +# scripts to run before build +before_build: + - echo "Running cmake..." + - cd c:\projects\jsoncpp + - cmake . + +build: + project: jsoncpp.sln # path to Visual Studio solution or project From 1b49a55ea1e1e08fc6bff5979d6297945e76e214 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Sun, 12 Apr 2015 12:41:29 +0200 Subject: [PATCH 2/6] appveyor multiple platforms --- appveyor.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 89d9a15..8c32977 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,19 +4,21 @@ os: Windows Server 2012 R2 clone_folder: c:\projects\jsoncpp -#platform: Any CPU +platform: + - Win32 + - x64 + configuration: - Debug - Release -install: - # by default, all script lines are interpreted as batch - # scripts to run before build before_build: - echo "Running cmake..." - cd c:\projects\jsoncpp - - cmake . + - cmake --version + - if %PLATFORM% == Win32 cmake . + - if %PLATFORM% == x64 cmake -G "Visual Studio 12 2013 Win64" . build: project: jsoncpp.sln # path to Visual Studio solution or project From fe06acb5871a3ba6036525b4ae9cfbc741d5a0ad Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Wed, 15 Apr 2015 18:49:05 +0200 Subject: [PATCH 3/6] fixed version on appveyor build --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 8c32977..f3751a6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 1.6.2.{build} +version: {build} os: Windows Server 2012 R2 From e9832049065a886ff198851e2a8a2d9b988bba48 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Wed, 15 Apr 2015 18:59:05 +0200 Subject: [PATCH 4/6] appveyor deploy init --- appveyor.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index f3751a6..1755725 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,3 +22,11 @@ before_build: build: project: jsoncpp.sln # path to Visual Studio solution or project + +deploy: + provider: GitHub + auth_token: + secure: K2Tp1q8pIZ7rs0Ot24ZMWuwr12Ev6Tc6QkhMjGQxoQG3ng1pXtgPasiJ45IDXGdg + on: + branch: master + appveyor_repo_tag: true From 0eb0e502c8e0c414de14cd3995061c613802e033 Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Thu, 16 Apr 2015 18:30:24 -0700 Subject: [PATCH 5/6] add a comment, to force a build --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 1755725..391640e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,3 +1,5 @@ +# This is a comment. + version: {build} os: Windows Server 2012 R2 From a658759039b5ec687deb47f67418cea46f090f97 Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Thu, 16 Apr 2015 18:33:39 -0700 Subject: [PATCH 6/6] maybe fix an error --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 391640e..546cb7e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ # This is a comment. -version: {build} +version: build.{build} os: Windows Server 2012 R2