You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tcl.apache.org by pe...@apache.org on 2018/12/16 12:08:14 UTC

[tcl-rivet] branch master updated: Appveyor build project: .appveyor.yml

This is an automated email from the ASF dual-hosted git repository.

petasis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git


The following commit(s) were added to refs/heads/master by this push:
     new 63a0b37  Appveyor build project: .appveyor.yml
63a0b37 is described below

commit 63a0b3730526cb1bd0b2be23d2272d0062ddd0c0
Author: petasis <pe...@yahoo.gr>
AuthorDate: Sun Dec 16 14:07:58 2018 +0200

    Appveyor build project: .appveyor.yml
---
 .appveyor.yml | 42 ++++++++++++++++++++++++++++++++++++++++++
 ChangeLog     |  3 +++
 2 files changed, 45 insertions(+)

diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644
index 0000000..d2b160d
--- /dev/null
+++ b/.appveyor.yml
@@ -0,0 +1,42 @@
+branches:
+  only:
+    - master
+
+image:
+  - Visual Studio 2017
+
+platform:
+  - x64
+
+configuration:
+  - Release
+
+matrix:
+  fast_finish: true
+  allow_failures:
+    - platform: x86
+      configuration: Release
+
+install:
+  # Install Tcl/Tk
+  - cmd: if %platform%==x86 set DOWNLOAD_PLATFORM=win32
+  - cmd: if %platform%==x64 set DOWNLOAD_PLATFORM=amd64
+  - cmd: if %platform%==x86 set APACHE_DOWNLOAD_PLATFORM=win32
+  - cmd: if %platform%==x64 set APACHE_DOWNLOAD_PLATFORM=win64
+  - cmd: if %platform%==x86 set CMAKE_GENERATOR="Visual Studio 15"
+  - cmd: if %platform%==x64 set CMAKE_GENERATOR="Visual Studio 15 Win64"
+  - cmd: set IRONTCL_VERSION="8.6.7"
+  - cmd: appveyor DownloadFile https://www.irontcl.com/downloads/irontcl-%DOWNLOAD_PLATFORM%-%IRONTCL_VERSION%.zip
+  - cmd: cmake -E tar xf irontcl-%DOWNLOAD_PLATFORM%-%IRONTCL_VERSION%.zip
+  - cmd: set PATH=%cd%\IronTcl\bin;%PATH%
+  # Install Apache
+  - cmd: set APACHE_VERSION="2.4.37"
+  - cmd: set APACHE_COMPILER="VC15"
+  - cmd: appveyor DownloadFile https://home.apache.org/~steffenal/%APACHE_COMPILER%/binaries/httpd-%APACHE_VERSION%-%APACHE_DOWNLOAD_PLATFORM%-%APACHE_COMPILER%.zip
+  - cmd: cmake -E tar xf httpd-%APACHE_VERSION%-%APACHE_DOWNLOAD_PLATFORM%-%APACHE_COMPILER%.zip
+  # Generate solution...
+  - cmd: cmake -E make_directory "build"
+  - cmd: cmake -E chdir build cmake -DAPACHE_ROOT=C:/Apache24 -G %CMAKE_GENERATOR% ..
+
+build:
+  project: C:\projects\tcl-rivet\build\Rivet.sln      # path to Visual Studio solution or project
diff --git a/ChangeLog b/ChangeLog
index 2429f82..b2fa288 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
 2018-12-16 Georgios Petasis <pe...@apache.org>
+    * .appveyor.yml: Started a build configuration for Appveyor:
+    https://ci.appveyor.com/project/petasis/tcl-rivet
+
     * cmake/CMakeLists.txt: Set policy CMP0074 to new behaviour. Rivet version
     is read from file VERSION.
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tcl.apache.org
For additional commands, e-mail: commits-help@tcl.apache.org