You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tcl.apache.org by mx...@apache.org on 2019/02/19 10:48:03 UTC

[tcl-rivet] branch 3.1 updated: merging from master in order to have new tags generate artifacts

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

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


The following commit(s) were added to refs/heads/3.1 by this push:
     new 09eca07  merging from master in order to have new tags generate artifacts
09eca07 is described below

commit 09eca076fbbea891673eda309a8422cc6ad7ec02
Author: Massimo Manghi <mx...@apache.org>
AuthorDate: Tue Feb 19 11:47:51 2019 +0100

    merging from master in order to have new tags generate artifacts
---
 .appveyor.yml | 22 ++++++++++++++++++++--
 ChangeLog     |  4 ++++
 2 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/.appveyor.yml b/.appveyor.yml
index 2bd4ff0..1f7ef21 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -7,6 +7,7 @@ image:
 
 platform:
   - x64
+  - x86
 
 configuration:
   - Release
@@ -18,6 +19,10 @@ matrix:
       configuration: Release
 
 install:
+  # Capture environment:
+  - cmd: set RIVET_HOME=%cd%
+  - cmd: set /p RIVET_VERSION=<VERSION
+  - cmd: echo %RIVET_VERSION%
   # Install Tcl/Tk
   - cmd: if %platform%==x86 set DOWNLOAD_PLATFORM=win32
   - cmd: if %platform%==x64 set DOWNLOAD_PLATFORM=amd64
@@ -30,6 +35,8 @@ install:
   - cmd: cmake -E tar xf irontcl-%DOWNLOAD_PLATFORM%-%IRONTCL_VERSION%.zip
   - cmd: set TCL_ROOT=%cd%\IronTcl
   - cmd: set PATH=%TCL_ROOT%\bin;%PATH%
+  - cmd: set TCL_TCLSH=%cd%\IronTcl\bin\tclsh86t.exe
+  - cmd: set TK_WISH=%cd%\IronTcl\bin\wish86t.exe
   # Install Apache
   - cmd: set APACHE_VERSION="2.4.37"
   - cmd: set APACHE_COMPILER="VC15"
@@ -39,7 +46,18 @@ install:
   # Generate solution...
   - cmd: cd cmake
   - cmd: cmake -E make_directory "build"
-  - cmd: cmake -E chdir build cmake -DAPACHE_ROOT=%APACHE_ROOT% -DTCL_ROOT=%TCL_ROOT% -G %CMAKE_GENERATOR% ..
+  - cmd: cmake -E chdir build cmake -DAPACHE_ROOT=%APACHE_ROOT% -DTCL_ROOT=%TCL_ROOT% -DTCL_TCLSH=%TCL_TCLSH% -DTK_WISH=%TK_WISH% -G %CMAKE_GENERATOR% ..
 
 build:
-  project: C:\projects\tcl-rivet\cmake\build\Rivet.sln      # path to Visual Studio solution or project
+  project: cmake\build\Rivet.sln      # path to Visual Studio solution or project
+
+before_build:
+  - cmd: if %platform%==x86 set RIVET_PLATFORM=Win32
+  - cmd: if %platform%==x64 set RIVET_PLATFORM=x64
+
+build_script:
+  - cmd: echo %cd%
+  - cmd: cd build
+  - cmd: msbuild Rivet.sln /p:Platform=%RIVET_PLATFORM% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
+  - cmd: msbuild INSTALL.vcxproj /p:Platform=%RIVET_PLATFORM% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
+
diff --git a/ChangeLog b/ChangeLog
index bb9dd47..2deee50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-02-19 Massimo Manghi <mx...@apache.org>
+    * .appveyor.yml: merging from master in order to have new tags generate
+    artifacts
+
 2019-01-21 Massimo Manghi <mx...@apache.org>
 	* src/rivet.h: Add error message buffer size definition (was still hardcoded
 	here and there)


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